org.apache.maven.werkz
Class CyclicGoalChainException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.maven.werkz.WerkzException
              extended byorg.apache.maven.werkz.CyclicGoalChainException
All Implemented Interfaces:
java.io.Serializable

public class CyclicGoalChainException
extends WerkzException

Indicates a dependency cycle within the Goal graph.

Author:
bob mcwhirter
See Also:
Goal, Serialized Form

Constructor Summary
CyclicGoalChainException(Goal initialGoal)
          Constrct with an initiating goal.
 
Method Summary
 Goal getInitialGoal()
          Retrieve the Goal which initiated the dependency cycle check.
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

CyclicGoalChainException

public CyclicGoalChainException(Goal initialGoal)
Constrct with an initiating goal.

Parameters:
initialGoal - The Goal which initiated the cycle check.
Method Detail

getInitialGoal

public Goal getInitialGoal()
Retrieve the Goal which initiated the dependency cycle check.

Returns:
The initiating Goal.

getMessage

public java.lang.String getMessage()


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.