org.apache.maven
Class UnknownGoalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.MavenException
              extended by org.apache.maven.GoalException
                  extended by org.apache.maven.UnknownGoalException
All Implemented Interfaces:
java.io.Serializable

public class UnknownGoalException
extends GoalException

Indicates an attempt to access an unknown werkz goal.

Version:
$Id: UnknownGoalException.java 517014 2007-03-11 21:15:50Z ltheussl $
Author:
bob mcwhirter
See Also:
Serialized Form

Constructor Summary
UnknownGoalException(java.lang.String goalName)
          Construct with an unknown goal name.
 
Method Summary
 java.lang.String getGoalName()
          Retrieve the unknown goal name.
 
Methods inherited from class org.apache.maven.MavenException
getException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

UnknownGoalException

public UnknownGoalException(java.lang.String goalName)
Construct with an unknown goal name.

Parameters:
goalName - The name of the unknown goal.
Method Detail

getGoalName

public java.lang.String getGoalName()
Retrieve the unknown goal name.

Returns:
The name of the unknown goal.


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