|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Error
org.apache.commons.attributes.RepositoryError
org.apache.commons.attributes.CircularDependencyError
public class CircularDependencyError
Thrown when an attribute repository class can't be loaded because it resulted in a circular dependency.
Constructor Summary | |
---|---|
CircularDependencyError(java.lang.String className,
java.util.List dependencyList)
Create a new CircularDependencyError. |
Method Summary | |
---|---|
private static java.lang.String |
listDeps(java.util.List dependencyList)
Joins together the elements of a list with ->
delimiters. |
Methods inherited from class org.apache.commons.attributes.RepositoryError |
---|
getCause, getNested |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, 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 |
---|
public CircularDependencyError(java.lang.String className, java.util.List dependencyList)
className
- the name of the class that started it all.dependencyList
- a list of the classes (Class
)
that the original
class depended on, the classes they
depended on, and so on. The list should
show the chain of dependencies that resulted
in the exception being thrown. Note:
Versions prior to 2.2 accepted a list of Objects
of any type. This is still supported, but the
formatting may suffer. Please only use lists of
Class
.Method Detail |
---|
private static java.lang.String listDeps(java.util.List dependencyList)
->
delimiters. Used to show the sequence that resulted in the circular
dependency.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |