Class ServicesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.bpel.services.common.exception.ServicesException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DynamicAssignmentException
,StaleObjectException
,WorkflowException
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionServicesException
(int err) ServicesException
(int err, int componentId, Object[] objs, Object[] context, Throwable t) ServicesException
(int err, Object[] objs) ServicesException
(int err, Object[] objs, Object[] context) ServicesException
(int err, Object[] objs, Object[] context, Throwable t) ServicesException
(int err, Object[] objs, Throwable t) ServicesException
(int err, Object[] objs, Locale locale) ServicesException
(int err, Throwable t) ServicesException
(int err, Locale locale) ServicesException
(int err, oracle.bpel.services.common.ServicesLogger.Severity severity, Throwable t) Deprecated.Use ServicesException(Severity, Throwable, int) Instead When this exception is thrown, it is not logged!ServicesException
(Throwable t, int component) ServicesException
(oracle.bpel.services.common.exception.ServicesRuntimeException sre) ServicesException
(oracle.bpel.services.common.ServicesLogger.Severity severity, int err, int componentId, Object[] objs, Object[] context, Throwable t) ServicesException
(oracle.bpel.services.common.ServicesLogger.Severity severity, int err, Object[] objs) ServicesException
(oracle.bpel.services.common.ServicesLogger.Severity severity, int err, Object[] objs, Object[] context) ServicesException
(oracle.bpel.services.common.ServicesLogger.Severity severity, int err, Object[] objs, Object[] context, Throwable t) ServicesException
(oracle.bpel.services.common.ServicesLogger.Severity severity, int err, Object[] objs, Throwable t) ServicesException
(oracle.bpel.services.common.ServicesLogger.Severity severity, Throwable t) Deprecated.Use ServicesException(Severity, Throwable, int) Instead When this exception is thrown, it is not logged!ServicesException
(oracle.bpel.services.common.ServicesLogger.Severity severity, Throwable t, int component) ServicesException
(oracle.bpel.services.common.ServicesLogger.Severity severity, ServicesException se) ServicesException
(oracle.bpel.services.common.ServicesLogger.Severity severity, oracle.bpel.services.common.exception.ServicesRuntimeException sre) -
Method Summary
Modifier and TypeMethodDescriptionint
Object[]
DescribegetErrorArgs
method here.int
Returns the error code of thisServerException
object.int
getFix()
final String
getName()
Obtain the exception that caused theServerException
being thrown.boolean
void
setDescription
(String description) void
setErrorArgs
(Object[] errorArgs) void
setErrorCode
(int errorCode) void
void
static void
To set the locale of the ResourceBundlevoid
void
static void
setPropertyBundleName
(String name) static void
setPropertyBundleName
(String name, Locale locale) To set the resource bundlevoid
setRecoverable
(boolean recoverable) void
setSeverity
(String severity) void
void
setUserName
(String userName) toString()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
EXCEPTION_TYPE_INFORMATION
public static final int EXCEPTION_TYPE_INFORMATION- See Also:
-
EXCEPTION_TYPE_ERROR
public static final int EXCEPTION_TYPE_ERROR- See Also:
-
EXCEPTION_TYPE_SYSTEM
public static final int EXCEPTION_TYPE_SYSTEM- See Also:
-
EXCEPTION_TYPE_WARNING
public static final int EXCEPTION_TYPE_WARNING- See Also:
-
EXCEPTION_TYPE_SECURITY
public static final int EXCEPTION_TYPE_SECURITY- See Also:
-
-
Constructor Details
-
ServicesException
public ServicesException() -
ServicesException
public ServicesException(int err) -
ServicesException
-
ServicesException
public ServicesException(int err, oracle.bpel.services.common.ServicesLogger.Severity severity, Throwable t) -
ServicesException
-
ServicesException
public ServicesException(oracle.bpel.services.common.ServicesLogger.Severity severity, ServicesException se) -
ServicesException
public ServicesException(oracle.bpel.services.common.exception.ServicesRuntimeException sre) -
ServicesException
public ServicesException(oracle.bpel.services.common.ServicesLogger.Severity severity, oracle.bpel.services.common.exception.ServicesRuntimeException sre) -
ServicesException
Deprecated.Use ServicesException(Severity, Throwable, int) Instead When this exception is thrown, it is not logged!- Parameters:
t
-
-
ServicesException
Deprecated.Use ServicesException(Severity, Throwable, int) Instead When this exception is thrown, it is not logged!- Parameters:
t
-
-
ServicesException
public ServicesException(oracle.bpel.services.common.ServicesLogger.Severity severity, Throwable t, int component) -
ServicesException
-
ServicesException
-
ServicesException
public ServicesException(oracle.bpel.services.common.ServicesLogger.Severity severity, int err, Object[] objs) -
ServicesException
-
ServicesException
-
ServicesException
-
ServicesException
-
ServicesException
-
ServicesException
-
ServicesException
-
ServicesException
-
ServicesException
-
ServicesException
-
-
Method Details
-
getComponent
public int getComponent() -
setPropertyBundleName
To set the resource bundle- Parameters:
locale
-name
-- Throws:
Exception
-
setPropertyBundleName
- Throws:
Exception
-
setLocale
To set the locale of the ResourceBundle- Parameters:
l
-- Throws:
Exception
-
getLocale
-
setExceptionLocale
-
getErrorCode
public int getErrorCode()Returns the error code of thisServerException
object. -
getErrorArgs
DescribegetErrorArgs
method here.- Returns:
- an
Object[]
value
-
setErrorArgs
-
getDescription
-
getName
-
getPrefix
-
getExceptionLocale
-
getSeverity
-
getFix
-
getRootCause
Obtain the exception that caused theServerException
being thrown. -
getMessage
- Overrides:
getMessage
in classThrowable
-
getSimpleMessage
-
getLocalizedMessage
- Overrides:
getLocalizedMessage
in classThrowable
-
isRecoverable
public boolean isRecoverable() -
setRecoverable
public void setRecoverable(boolean recoverable) -
getUserName
-
setUserName
-
setErrorCode
public void setErrorCode(int errorCode) -
setPrefix
-
setSeverity
-
setType
-
setName
-
setDescription
-
setFix
-
toString
-
getExceptionType
public int getExceptionType() -
getExceptionTypeEnum
-