com.werken.werkz
Class NoActionDefinitionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.werken.werkz.WerkzException
              extended by com.werken.werkz.NoActionDefinitionException
All Implemented Interfaces:
java.io.Serializable

public class NoActionDefinitionException
extends WerkzException

Indicates an attempt to attain a goal with no action definition.

Author:
bob mcwhirter
See Also:
Serialized Form

Field Summary
private  Goal goal
          The goal.
 
Constructor Summary
NoActionDefinitionException(Goal goal)
          Construct.
 
Method Summary
 Goal getGoal()
          Retrieve the goal.
 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

goal

private Goal goal
The goal.

Constructor Detail

NoActionDefinitionException

public NoActionDefinitionException(Goal goal)
Construct.

Parameters:
goal - The goal.
Method Detail

getGoal

public Goal getGoal()
Retrieve the goal.

Returns:
The goal.

getMessage

public java.lang.String getMessage()
Retrieve the error message.

Overrides:
getMessage in class java.lang.Throwable
Returns:
The message.