|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.6.0) E25378-04 |
||||||||
| 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
java.lang.RuntimeException
oracle.bpm.services.common.exception.BPMRuntimeException
public class BPMRuntimeException
BPM runtime exception.
| Field Summary | |
|---|---|
static long |
serialVersionUID |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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) |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public BPMRuntimeException(int errorCode)
BPMRuntimeException instance.
errorCode - an int value
public 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 value
public 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| Method Detail |
|---|
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
|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.6.0) E25378-04 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||