public class BPMRuntimeException
extends java.lang.RuntimeException
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
BPMRuntimeException(int errorCode)
Creates a new
BPMRuntimeException instance. |
BPMRuntimeException(int errorCode, java.lang.Object[] objs, java.lang.Throwable t)
Creates a new
BPMRuntimeException instance. |
BPMRuntimeException(Severity severity, int errorCode, java.lang.Object[] objs)
Creates a new
BPMRuntimeException instance. |
BPMRuntimeException(Severity severity, int errorCode, java.lang.Object[] objs, java.lang.Throwable t)
Creates a new
BPMRuntimeException instance. |
| Modifier and Type | Method and Description |
|---|---|
LoggerComponent |
getComponent()
Returns the logger component of this
BPMRuntimeException object. |
java.lang.String |
getDescription()
Returns the error description of this
BPMRuntimeException object. |
java.lang.Object[] |
getErrorArgs()
Returns the error parameters of this
BPMRuntimeException object. |
int |
getErrorCode()
Returns the error code of this
ServerException object. |
java.lang.String |
getLocalizedMessage()
Gets localized message
|
java.lang.String |
getMessage()
Returns exception message string containing name, description and fix (if available)
|
java.lang.String |
getName()
Returns the error name of this
BPMRuntimeException object. |
java.lang.Throwable |
getRootCause()
Obtain the exception that caused the
ServerException being thrown. |
static void |
setLocale(java.util.Locale l)
To set the locale of the ResourceBundle
|
static void |
setPropertyBundleName(java.lang.String name)
To set the resource bundle for default locale.
|
static void |
setPropertyBundleName(java.lang.String name, java.util.Locale locale)
To set the resource bundle
|
java.lang.String |
toString()
Returns exception message string containing BPM-
ErrorCode, name, description and fix (if available) |
public static final long serialVersionUID
public BPMRuntimeException(int errorCode)
BPMRuntimeException instance.errorCode - an int valuepublic BPMRuntimeException(Severity severity, int errorCode, java.lang.Object[] objs)
BPMRuntimeException instance.severity - a Severity valueerrorCode - an int valueobjs - a java.lang.Object[] value
public BPMRuntimeException(int errorCode,
java.lang.Object[] objs,
java.lang.Throwable t)
BPMRuntimeException instance.errorCode - an int valueobjs - a java.lang.Object[] valuet - a java.lang.Throwable valuepublic BPMRuntimeException(Severity severity, int errorCode, java.lang.Object[] objs, java.lang.Throwable t)
BPMRuntimeException instance.severity - a Severity valueerrorCode - an int valueobjs - a java.lang.Object[] valuet - a java.lang.Throwable value
public static void setPropertyBundleName(java.lang.String name,
java.util.Locale locale)
throws java.lang.Exception
name - a String valuelocale - a Locale valuejava.lang.Exception - if an error occurs
public static void setPropertyBundleName(java.lang.String name)
throws java.lang.Exception
name - a String valuejava.lang.Exception - if an error occurs
public static void setLocale(java.util.Locale l)
throws java.lang.Exception
l -java.lang.Exceptionpublic LoggerComponent getComponent()
BPMRuntimeException object.int valuepublic int getErrorCode()
ServerException object.public java.lang.Object[] getErrorArgs()
BPMRuntimeException object.Object[] valuepublic java.lang.String getDescription()
BPMRuntimeException object.String valuepublic final java.lang.String getName()
BPMRuntimeException object.String valuepublic java.lang.Throwable getRootCause()
ServerException being thrown.public java.lang.String getMessage()
getMessage in class java.lang.ThrowableString valuepublic java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.ThrowableString valuepublic java.lang.String toString()
ErrorCode, name, description and fix (if available)toString in class java.lang.ThrowableString value