Package org.apache.commons.discovery
Class DiscoveryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.commons.discovery.DiscoveryException
-
- All Implemented Interfaces:
java.io.Serializable
public class DiscoveryException extends java.lang.RuntimeException
An exception that is thrown only if a suitable service instance cannot be created byServiceFactory
.- Version:
- $Revision: 1088947 $ $Date: 2011-04-05 11:51:19 +0200 (mar. 05 avril 2011) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DiscoveryException()
Construct a new exception withnull
as its detail message.DiscoveryException(java.lang.String message)
Construct a new exception with the specified detail message.DiscoveryException(java.lang.String message, java.lang.Throwable cause)
Construct a new exception with the specified detail message and cause.DiscoveryException(java.lang.Throwable cause)
Construct a new exception with the specified cause and a derived detail message.
-
-
-
Constructor Detail
-
DiscoveryException
public DiscoveryException()
Construct a new exception withnull
as its detail message.
-
DiscoveryException
public DiscoveryException(java.lang.String message)
Construct a new exception with the specified detail message.- Parameters:
message
- The detail message
-
DiscoveryException
public DiscoveryException(java.lang.Throwable cause)
Construct a new exception with the specified cause and a derived detail message.- Parameters:
cause
- The underlying cause
-
DiscoveryException
public DiscoveryException(java.lang.String message, java.lang.Throwable cause)
Construct a new exception with the specified detail message and cause.- Parameters:
message
- The detail messagecause
- The underlying cause
-
-