|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.werken.werkz.WerkzException
com.werken.werkz.UnattainableGoalException
Indicates an error while attempting to satisfy a Goal
.
Werkz#attainGoal
,
Goal.attain(com.werken.werkz.Session)
,
Serialized FormField Summary | |
private java.lang.String |
goalName
Name of goal in which an error occurred. |
private java.lang.Throwable |
rootCause
Root exception. |
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
UnattainableGoalException(java.lang.String goalName,
java.lang.Throwable rootCause)
Construct with a goal name and root cause. |
Method Summary | |
java.lang.String |
getGoalName()
Retrieve the name of the goal in which the error occurred. |
java.lang.String |
getMessage()
|
java.lang.Throwable |
getRootCause()
Retrieve the root cause of the error. |
void |
printStackTrace()
Print the stack-trace of this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String goalName
private java.lang.Throwable rootCause
Constructor Detail |
public UnattainableGoalException(java.lang.String goalName, java.lang.Throwable rootCause)
goalName
- The name of the goal in which an error occurred.rootCause
- The original error.Method Detail |
public java.lang.String getGoalName()
public java.lang.Throwable getRootCause()
public void printStackTrace()
public java.lang.String getMessage()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |