org.picocontainer

Class PicoRegistrationException

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

Constructor Summary
PicoRegistrationException(String message)
Construct a new exception with no cause and the specified detail message.
protected PicoRegistrationException(Throwable cause)
Construct a new exception with the specified cause and no detail message.
PicoRegistrationException(String message, Throwable cause)
Construct a new exception with the specified cause and the specified detail message.

Constructor Detail

PicoRegistrationException

public PicoRegistrationException(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(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(String message, 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.