Package org.apache.maven.lifecycle
Class LifecyclePhaseNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.lifecycle.LifecyclePhaseNotFoundException
- All Implemented Interfaces:
Serializable
Signals a failure to locate the lifecycle for some phase.
- See Also:
-
Constructor Summary
ConstructorDescriptionLifecyclePhaseNotFoundException
(String message, String lifecyclePhase) Creates a new exception to indicate that the specified lifecycle phase is not defined by any known lifecycle. -
Method Summary
Modifier and TypeMethodDescriptionGets the lifecycle phase that was not found.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LifecyclePhaseNotFoundException
Creates a new exception to indicate that the specified lifecycle phase is not defined by any known lifecycle.- Parameters:
message
- The detail message, may benull
.lifecyclePhase
- The name of the lifecycle phase that could not be located, may benull
.
-
-
Method Details
-
getLifecyclePhase
Gets the lifecycle phase that was not found.- Returns:
- The lifecycle phase that was not found, never
null
.
-