org.picocontainer
Class PicoVerificationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.picocontainer.PicoException
                  extended byorg.picocontainer.PicoVerificationException
All Implemented Interfaces:
Serializable

public class PicoVerificationException
extends PicoException

Subclass of PicoException that is thrown when there is a problem with the internal state of the container or another part of the PicoContainer API, for example when a needed dependency cannot be resolved.

Since:
1.0
Version:
$Revision: 1.6 $
See Also:
Serialized Form

Constructor Summary
PicoVerificationException(List nestedExceptions)
          Construct a new exception with a list of exceptions that caused this one.
 
Method Summary
 String getMessage()
          Return a string listing of all the messages associated with the exceptions that caused this one.
 List getNestedExceptions()
          Retrieve the list of exceptions that caused this one.
 
Methods inherited from class org.picocontainer.PicoException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, 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

PicoVerificationException

public PicoVerificationException(List nestedExceptions)
Construct a new exception with a list of exceptions that caused this one.

Parameters:
nestedExceptions - the exceptions that caused this one.
Method Detail

getNestedExceptions

public List getNestedExceptions()
Retrieve the list of exceptions that caused this one.

Returns:
the list of exceptions that caused this one.

getMessage

public String getMessage()
Return a string listing of all the messages associated with the exceptions that caused this one.

Returns:
a string listing of all the messages associated with the exceptions that caused this one.


Copyright © 2003-2004 Codehaus. All Rights Reserved.