|
Oracle BPEL Process Manager Client Java API Reference 10g Release 3 (10.1.3.1.0) B28986-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
public class 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.
Field Summary | |
---|---|
protected int |
mErrorCode Exception code. |
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(ServerException causedBy) Constructs a ServerException that embeds the originally thrown exception. |
|
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int mErrorCode
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.
e
- the original exception. The original exception is saved for later retrieval by the getCausedByThrowable()
method.public ServerException(ServerException causedBy)
ServerException
that embeds the originally thrown exception. This version sets the error code to the cause's error code.
e
- the original exception. The original exception is saved for later retrieval by the getCausedByThrowable()
method.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.getMessage
in class java.lang.Throwable
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.
getLocalizedMessage
in class java.lang.Throwable
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.printStackTrace
in class java.lang.Throwable
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.toString
in class java.lang.Throwable
|
Oracle BPEL Process Manager Client Java API Reference 10g Release 3 (10.1.3.1.0) B28986-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |