polyglot.frontend
Class MissingDependencyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by polyglot.frontend.SchedulerException
                  extended by polyglot.frontend.MissingDependencyException
All Implemented Interfaces:
java.io.Serializable

public class MissingDependencyException
extends SchedulerException

A MissingDependencyException is thrown when a goal cannot be reached (yet) because the it is dependent on another, often just discovered, goal.

Author:
nystrom
See Also:
Serialized Form

Constructor Summary
MissingDependencyException(Goal goal)
           
MissingDependencyException(Goal goal, boolean prerequisite)
           
 
Method Summary
 Goal goal()
           
 boolean prerequisite()
           
 void printStackTrace()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingDependencyException

public MissingDependencyException(Goal goal)

MissingDependencyException

public MissingDependencyException(Goal goal,
                                  boolean prerequisite)
Method Detail

goal

public Goal goal()

prerequisite

public boolean prerequisite()

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable