|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.maven.BuildFailureException
org.apache.maven.InvalidTaskException
public class InvalidTaskException
Exception which occurs when a task or goal is specified on the command line
but cannot be resolved for execution. This validation is done up front, and
this exception wraps the TaskValidationResult
generated as a result
of verifying the task.
Constructor Summary | |
---|---|
InvalidTaskException(TaskValidationResult result,
java.lang.Throwable cause)
|
Method Summary | |
---|---|
java.lang.String |
getTask()
|
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 |
---|
public InvalidTaskException(TaskValidationResult result, java.lang.Throwable cause)
Method Detail |
---|
public java.lang.String getTask()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |