|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
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
com.oracle.bpel.client.ServerException
A ServerException
is the common superclass for all Orabpel exceptions that may be thrown by the process domain. A ServerException
will most likely act as a wrapper class for various Exception
objects thrown during run-time.
Constructor Summary | |
ServerException() Constructs a ServerException with no detail message and exception code of 0. |
|
ServerException(int errorCode) Constructs a ServerException with no details message and the specified error code. |
|
ServerException(java.lang.String message) Constructs a ServerException with the specified detail message. |
|
ServerException(java.lang.String message, int errorCode) Constructs a ServerException with the specified detail message and error code. |
|
ServerException(java.lang.Throwable causedBy) Constructs a ServerException that embeds the originally thrown exception. |
Method Summary | |
int |
getErrorCode() Returns the error code of this ServerException object. |
java.lang.String |
getLocalizedMessage() Creates a localized description of this ServerException . |
java.lang.String |
getMessage() Returns the error message string of this ServerException object. |
java.lang.Throwable |
getRootCause() Obtain the exception that caused the ServerException being thrown. |
void |
printStackTrace() Prints this ServerException and its backtrace to the standard error stream. |
java.lang.String |
toString() Returns a short description of this ServerException object. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ServerException()
ServerException
with no detail message and exception code of 0.public ServerException(int errorCode)
ServerException
with no details message and the specified error code.public ServerException(java.lang.String message)
ServerException
with the specified detail message. Exception code defaults to 0.message
- the error message. The error message is saved for later retrieval by the getMessage()
method.public ServerException(java.lang.String message, int errorCode)
ServerException
with the specified detail message and error code.message
- the error message. The error message is saved for later retrieval by the getMessage()
method.public ServerException(java.lang.Throwable causedBy)
ServerException
that embeds the originally thrown exception. Exception code defaults to 0.Method Detail |
public int getErrorCode()
ServerException
object.public java.lang.String getMessage()
ServerException
object. If this exception was caused by another exception, the message of the inner exception is returned. If this exception was created with no error message null
is returned.public java.lang.String getLocalizedMessage()
ServerException
. Subclasses may override this method in order to produce a locale-specific message. For subclasses that do not override this method, the default implementation returns the same result as getMessage()
.
If this exception was caused by another exception, the localized message of the inner exception is returned.
public void printStackTrace()
ServerException
and its backtrace to the standard error stream. If this exception was caused by another exception, the stack trace of the inner exception is printed to the error output stream.public java.lang.Throwable getRootCause()
ServerException
being thrown.public java.lang.String toString()
ServerException
object. If this exception was caused by another exception, the toString()
method of the inner exception is returned.
|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |