com.werken.werkz
Class NoSuchGoalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.werken.werkz.WerkzException
com.werken.werkz.NoSuchGoalException
- All Implemented Interfaces:
- java.io.Serializable
- public class NoSuchGoalException
- extends WerkzException
Indicates a request to attain an unknown Goal
.
- Author:
- bob mcwhirter
- See Also:
Werkz#attainGoal
,
Serialized Form
Field Summary |
private java.lang.String |
goalName
Name of the unknown goal. |
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary |
NoSuchGoalException(java.lang.String goalName)
Construct with the name of the unknown goal. |
Method Summary |
java.lang.String |
getGoalName()
Retrieve the unknown goal name. |
java.lang.String |
getMessage()
Retrieve the error message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
goalName
private java.lang.String goalName
- Name of the unknown goal.
NoSuchGoalException
public NoSuchGoalException(java.lang.String goalName)
- Construct with the name of the unknown goal.
- Parameters:
goalName
- The unknown goal name.
getGoalName
public java.lang.String getGoalName()
- Retrieve the unknown goal name.
- Returns:
- The unknown goal name.
getMessage
public java.lang.String getMessage()
- Retrieve the error message.
- Returns:
- The error message.