org.apache.maven.werkz
Class NoActionDefinitionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.werkz.WerkzException
              extended by org.apache.maven.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

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
 

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.


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.