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
public class LifecycleNotFoundException extends Exception
Signals a failure to locate a lifecycle.- Author:
- Benjamin Bentmann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LifecycleNotFoundException(String lifecycleId)
Creates a new exception to indicate that the specified lifecycle is unknown.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLifecycleId()
Gets 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 Detail
-
LifecycleNotFoundException
public LifecycleNotFoundException(String lifecycleId)
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 Detail
-
getLifecycleId
public String getLifecycleId()
Gets the identifier of the lifecycle that was not found.- Returns:
- The identifier of the lifecycle that was not found, never
null
.
-
-