public class UnattainableGoalException extends WerkzException
Goal
.Goal.attain(org.apache.maven.werkz.Session)
,
Serialized FormConstructor and Description |
---|
UnattainableGoalException(java.lang.String goalName,
java.lang.Throwable rootCause)
Construct with a goal name and root cause.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGoalName()
Retrieve the name of the goal in which the error occurred.
|
java.lang.String |
getMessage() |
java.lang.Throwable |
getRootCause()
Retrieve the root cause of the error.
|
public UnattainableGoalException(java.lang.String goalName, java.lang.Throwable rootCause)
goalName
- The name of the goal in which an error occurred.rootCause
- The original error.public java.lang.String getGoalName()
public java.lang.Throwable getRootCause()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
Copyright © 2001-2013 Apache Software Foundation. All Rights Reserved.