Package org.apache.maven.lifecycle
Class LifecycleNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.lifecycle.LifecycleNotFoundException
- All Implemented Interfaces:
Serializable
Signals a failure to locate a lifecycle.
- See Also:
-
Constructor Summary
ConstructorDescriptionLifecycleNotFoundException
(String lifecycleId) Creates a new exception to indicate that the specified lifecycle is unknown. -
Method Summary
Modifier and TypeMethodDescriptionGets the identifier of the lifecycle 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
-
LifecycleNotFoundException
Creates a new exception to indicate that the specified lifecycle is unknown.- Parameters:
lifecycleId
- The identifier of the lifecycle that could not be located, may benull
.
-
-
Method Details
-
getLifecycleId
Gets the identifier of the lifecycle that was not found.- Returns:
- The identifier of the lifecycle that was not found, never
null
.
-