|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.exolab.core.service.ServiceException
public class 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, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, 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 message
message
- 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 it
message
- 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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |