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