|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--org.exolab.jms.service.ServiceException
This exception is thrown whenever there is a general exception with a service entitiy
Constructor Summary | |
ServiceException()
Construct a new ServiceException with no information. |
|
ServiceException(java.lang.String message)
Construct a new ServiceException with a detail message |
|
ServiceException(java.lang.String message,
java.lang.Throwable cause)
Construct a new ServiceException with a detail
message and the exception that caused it |
|
ServiceException(java.lang.Throwable cause)
Construct a new ServiceException with the exception that
caused it. |
Method Summary | |
java.lang.Throwable |
getRootCause()
Returns the exception that caused this exception |
void |
printStackTrace()
Prints the stack trace of the thrown exception to the standard error stream |
void |
printStackTrace(java.io.PrintStream stream)
Prints the stack trace of the thrown exception to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter writer)
Prints the stack trace of the thrown throwable exception to the specified print writer. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ServiceException()
ServiceException
with no information.public ServiceException(java.lang.String message)
ServiceException
with a detail messagemessage
- a message describing this exceptionpublic ServiceException(java.lang.Throwable cause)
ServiceException
with the exception that
caused it.cause
- the exception that caused this exceptionpublic ServiceException(java.lang.String message, java.lang.Throwable cause)
ServiceException
with a detail
message and the exception that caused itmessage
- a message describing this exceptioncause
- the exception that caused this exceptionMethod Detail |
public java.lang.Throwable getRootCause()
null
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream stream)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter writer)
printStackTrace
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |