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.
See Also:
  • Constructor Details

    • 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 be null.
  • Method Details

    • 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.