com.werken.werkz
Class NoSuchGoalException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.werken.werkz.WerkzException
              extended bycom.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
 

Field Detail

goalName

private java.lang.String goalName
Name of the unknown goal.

Constructor Detail

NoSuchGoalException

public NoSuchGoalException(java.lang.String goalName)
Construct with the name of the unknown goal.

Parameters:
goalName - The unknown goal name.
Method Detail

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.