org.picocontainer
Class PicoRegistrationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.picocontainer.PicoException
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. |
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 |
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.