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 intstatic final intstatic final intstatic final intstatic 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 TypeMethodDescriptionintObject[]DescribegetErrorArgsmethod here.intReturns the error code of thisServerExceptionobject.intgetFix()final StringgetName()Obtain the exception that caused theServerExceptionbeing thrown.booleanvoidsetDescription(String description) voidsetErrorArgs(Object[] errorArgs) voidsetErrorCode(int errorCode) voidvoidstatic voidTo set the locale of the ResourceBundlevoidvoidstatic voidsetPropertyBundleName(String name) static voidsetPropertyBundleName(String name, Locale locale) To set the resource bundlevoidsetRecoverable(boolean recoverable) voidsetSeverity(String severity) voidvoidsetUserName(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 thisServerExceptionobject. -
getErrorArgs
DescribegetErrorArgsmethod here.- Returns:
- an
Object[]value
-
setErrorArgs
-
getDescription
-
getName
-
getPrefix
-
getExceptionLocale
-
getSeverity
-
getFix
-
getRootCause
Obtain the exception that caused theServerExceptionbeing thrown. -
getMessage
- Overrides:
getMessagein classThrowable
-
getSimpleMessage
-
getLocalizedMessage
- Overrides:
getLocalizedMessagein 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
-