java.io.Serializable
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
Modifier and Type | Field | Description |
---|---|---|
protected java.lang.Throwable |
cause |
The underlying cause of this exception.
|
Constructor | Description |
---|---|
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.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Throwable |
getCause() |
Return the underlying cause of this exception (if any).
|
java.lang.String |
toString() |
public DiscoveryException()
null
as its detail message.public DiscoveryException(java.lang.String message)
message
- The detail messagepublic DiscoveryException(java.lang.Throwable cause)
cause
- The underlying causepublic DiscoveryException(java.lang.String message, java.lang.Throwable cause)
message
- The detail messagecause
- The underlying causeCopyright (c) 2002 - Apache Software Foundation