org.picocontainer
Class PicoRegistrationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.picocontainer.PicoException
                  extended by org.picocontainer.PicoRegistrationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AssignabilityRegistrationException, DuplicateComponentKeyRegistrationException, NotConcreteRegistrationException

public class PicoRegistrationException
extends PicoException

Subclass of PicoException that is thrown when there is a problem registering a component with the container or another part of the PicoContainer API, for example, when a request for a component is ambiguous.

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

Constructor Summary
  PicoRegistrationException(java.lang.String message)
          Construct a new exception with no cause and the specified detail message.
  PicoRegistrationException(java.lang.String message, java.lang.Throwable cause)
          Construct a new exception with the specified cause and the specified detail message.
protected PicoRegistrationException(java.lang.Throwable cause)
          Construct a new exception with the specified cause and no detail message.
 
Method Summary
 
Methods inherited from class org.picocontainer.PicoException
getCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PicoRegistrationException

public PicoRegistrationException(java.lang.String message)
Construct a new exception with no cause and the specified detail message. Note modern JVMs may still track the exception that caused this one.

Parameters:
message - the message detailing the exception.

PicoRegistrationException

protected PicoRegistrationException(java.lang.Throwable cause)
Construct a new exception with the specified cause and no detail message.

Parameters:
cause - the exception that caused this one.

PicoRegistrationException

public PicoRegistrationException(java.lang.String message,
                                 java.lang.Throwable cause)
Construct a new exception with the specified cause and the specified detail message.

Parameters:
message - the message detailing the exception.
cause - the exception that caused this one.