org.apache.commons.discovery
Class DiscoveryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.discovery.DiscoveryException
public class DiscoveryException
extends java.lang.RuntimeException
An exception that is thrown only if a suitable service
instance cannot be created by
ServiceFactory
Copied from LogConfigurationException
Version:
- Craig R. McClanahan
protected java.lang.Throwable | cause - The underlying cause of this exception.
|
DiscoveryException() - Construct a new exception with
null 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.
|
java.lang.Throwable | getCause() - Return the underlying cause of this exception (if any).
|
java.lang.String | toString()
|
cause
protected java.lang.Throwable cause
The underlying cause of this exception.
DiscoveryException
public DiscoveryException()
Construct a new exception with null
as its detail message.
DiscoveryException
public DiscoveryException(java.lang.String message)
Construct a new exception with the specified detail message.
message
- The detail message
DiscoveryException
public DiscoveryException(java.lang.String message,
java.lang.Throwable cause)
Construct a new exception with the specified detail message and cause.
message
- The detail messagecause
- The underlying cause
DiscoveryException
public DiscoveryException(java.lang.Throwable cause)
Construct a new exception with the specified cause and a derived
detail message.
cause
- The underlying cause
getCause
public java.lang.Throwable getCause()
Return the underlying cause of this exception (if any).
toString
public java.lang.String toString()
Copyright (c) 2002 - Apache Software Foundation