
public class DependencyCycleException extends IllegalStateException
| Constructor and Description |
|---|
DependencyCycleException(Implementation impl1,
Implementation impl2)
Creates a new
DependencyCycleException taking the involved
implementations. |
DependencyCycleException(String identifier1,
String identifier2)
Creates a new
DependencyCycleException taking identifiers of the
involved implementations. |
| Modifier and Type | Method and Description |
|---|---|
Implementation[] |
getImplementations()
Gets the implementation introducing a cycle.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DependencyCycleException(Implementation impl1, Implementation impl2)
DependencyCycleException taking the involved
implementations.impl1 - the implementation the cycle was detected for.impl2 - the implementation introducing the cycle to impl1.NullPointerException - if either impl1 or impl2
is null.public DependencyCycleException(String identifier1, String identifier2)
DependencyCycleException taking identifiers of the
involved implementations.identifier1 - the identifier of the implementation the cycle was
detected for.identifier2 - the identifier of the implementation introducing the
cycle.NullPointerException - if either identifier1 or
identifier2 is null.public Implementation[] getImplementations()
Copyright © 2005-2012 jDTAUS. All Rights Reserved.