org.apache.maven.lifecycle
Class LifecycleNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
LifecycleNotFoundException(String lifecycleId)
          Creates a new exception to indicate that the specified lifecycle is unknown.
 
Method Summary
 String getLifecycleId()
          Gets the identifier of the lifecycle that was not found.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 be null.
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.


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.