org.apache.maven.werkz
Class NoSuchGoalException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.maven.werkz.WerkzException
              extended byorg.apache.maven.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:
Goal.attain(org.apache.maven.werkz.Session), Serialized Form

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
 

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.


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