Package org.exoplatform.container
Class CyclicDependencyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.exoplatform.container.spi.ContainerException
-
- org.exoplatform.container.CyclicDependencyException
-
- All Implemented Interfaces:
Serializable
public class CyclicDependencyException extends org.exoplatform.container.spi.ContainerException- Version:
- $Id$
- Author:
- Nicolas Filotto
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CyclicDependencyException(ComponentTaskContextEntry entry, boolean sameType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetComponentKey()ComponentTaskTypegetTaskType()booleanisSameType()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CyclicDependencyException
public CyclicDependencyException(ComponentTaskContextEntry entry, boolean sameType)
-
-
Method Detail
-
getComponentKey
public Object getComponentKey()
- Returns:
- the key of the dependency that causes the issue
-
getTaskType
public ComponentTaskType getTaskType()
- Returns:
- the type of the task for which this dependency is needed.
-
isSameType
public boolean isSameType()
- Returns:
- the sameType
-
-