|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--org.apache.commons.discovery.DiscoveryException
An exception that is thrown only if a suitable service
instance cannot be created by ServiceFactory
Copied from LogConfigurationException
Field Summary | |
---|---|
protected java.lang.Throwable |
cause
The underlying cause of this exception. |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
Return the underlying cause of this exception (if any). |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.Throwable cause
Constructor Detail |
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 causeMethod Detail |
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |