public class CircularDependencyError extends RepositoryError
| Constructor and Description |
|---|
CircularDependencyError(java.lang.String className,
java.util.List dependencyList)
Create a new CircularDependencyError.
|
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
listDeps(java.util.List dependencyList)
Joins together the elements of a list with
->
delimiters. |
getCause, getNestedpublic 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.