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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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
.
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
.
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.