public class PicoVerificationException extends PicoException
PicoException
that is thrown when a PicoContainer
hierarchy
cannot be verified. A failing verification is caused by ambuigities or missing dependencies
between the registered components and their parameters. This exception is designed as a
collector for all Exceptions occuring at the verification of the complete container
hierarchy. The verification is normally done with the
VerifyingVisitor
, that will throw this exception.Modifier and Type | Field and Description |
---|---|
private java.util.List |
nestedExceptions
The exceptions that caused this one.
|
Constructor and Description |
---|
PicoVerificationException(java.util.List nestedExceptions)
Construct a new exception with a list of exceptions that caused this one.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Return a string listing of all the messages associated with the exceptions that caused
this one.
|
java.util.List |
getNestedExceptions()
Retrieve the list of exceptions that caused this one.
|
getCause, printStackTrace, printStackTrace, printStackTrace
private final java.util.List nestedExceptions
public PicoVerificationException(java.util.List nestedExceptions)
nestedExceptions
- the exceptions that caused this one.public java.util.List getNestedExceptions()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable