org.apache.commons.discovery
public class DiscoveryException extends RuntimeException
An exception that is thrown only if a suitable service
instance cannot be created by ServiceFactory
Copied from LogConfigurationException
Version: $Revision: 480374 $ $Date: 2006-11-28 19:33:25 -0800 (Tue, 28 Nov 2006) $
Field Summary | |
---|---|
protected Throwable | cause
The underlying cause of this exception. |
Constructor Summary | |
---|---|
DiscoveryException()
Construct a new exception with null as its detail message. | |
DiscoveryException(String message)
Construct a new exception with the specified detail message.
| |
DiscoveryException(Throwable cause)
Construct a new exception with the specified cause and a derived
detail message.
| |
DiscoveryException(String message, Throwable cause)
Construct a new exception with the specified detail message and cause.
|
Method Summary | |
---|---|
Throwable | getCause()
Return the underlying cause of this exception (if any). |
String | toString() |
null
as its detail message.Parameters: message The detail message
Parameters: cause The underlying cause
Parameters: message The detail message cause The underlying cause