Package org.apache.maven.lifecycle
Class LifecyclePhaseNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.maven.lifecycle.LifecyclePhaseNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
public class LifecyclePhaseNotFoundException extends java.lang.Exception
Signals a failure to locate the lifecycle for some phase.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
lifecyclePhase
-
Constructor Summary
Constructors Constructor Description LifecyclePhaseNotFoundException(java.lang.String message, java.lang.String lifecyclePhase)
Creates a new exception to indicate that the specified lifecycle phase is not defined by any known lifecycle.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLifecyclePhase()
Gets the lifecycle phase that was not found.
-
-
-
Constructor Detail
-
LifecyclePhaseNotFoundException
public LifecyclePhaseNotFoundException(java.lang.String message, java.lang.String lifecyclePhase)
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
.
-
-