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 occurring at the verification of the complete container
hierarchy. The verification is normally done with the
VerifyingVisitor
, that will throw this exception.Constructor and Description |
---|
PicoVerificationException(List<? extends Throwable> nestedExceptions)
Construct a new exception with a list of exceptions that caused this one.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Return a string listing of all the messages associated with the exceptions that caused
this one.
|
List<Throwable> |
getNestedExceptions()
Retrieve the list of exceptions that caused this one.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PicoVerificationException(List<? extends Throwable> nestedExceptions)
nestedExceptions
- the exceptions that caused this one.public List<Throwable> getNestedExceptions()
public String getMessage()
getMessage
in class Throwable
Copyright © 2003–2015 Codehaus. All rights reserved.