org.apache.maven
Class ProjectCycleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.BuildFailureException
org.apache.maven.ProjectCycleException
- All Implemented Interfaces:
- java.io.Serializable
public class ProjectCycleException
- extends BuildFailureException
Exception which occurs when creating a new ReactorManager
instance,
due to failure to sort the current projects. The embedded CycleDetectedException
is thrown by the ProjectSorter and context of this wrapped exception
includes the list of projects that contain the cycle, along with a friendly
rendering of the cycle message indicating that it comes from the current projects list.
- Author:
- jdcasey
- See Also:
- Serialized Form
Constructor Summary |
ProjectCycleException(java.util.List projects,
java.lang.String message,
org.codehaus.plexus.util.dag.CycleDetectedException cause)
|
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 |
ProjectCycleException
public ProjectCycleException(java.util.List projects,
java.lang.String message,
org.codehaus.plexus.util.dag.CycleDetectedException cause)
getProjects
public java.util.List getProjects()
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.