org.apache.commons.discovery
Class DiscoveryException
RuntimeExceptionorg.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: 165666 $ $Date: 2005-05-02 20:37:26 +0100 (Mon, 02 May 2005) $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