|
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
oracle.bpm.services.common.exception.BPMException
public class BPMException
BPM exception.
| Field Summary | |
|---|---|
static long |
serialVersionUID |
| Constructor Summary | |
|---|---|
BPMException(BPMExceptionContext exCtx)Creates a new BPMException instance. |
|
BPMException(java.lang.Exception ex)Creates a new BPMException instance. |
|
BPMException(int errorCode)Creates a new BPMException instance. |
|
BPMException(int errorCode, java.lang.Object[] objs, java.lang.Throwable t)Creates a new BPMException instance. |
|
BPMException(Severity severity, int errorCode, java.lang.Object[] objs, java.lang.Throwable t)Creates a new BPMException instance. |
|
| Method Summary | |
|---|---|
LoggerComponent |
getComponent()Returns the logger component of this BPMException object. |
java.lang.String |
getDescription()Returns the error description of this BPMException object. |
java.lang.Object[] |
getErrorArgs()Returns the error parameters of this BPMException object. |
int |
getErrorCode()Returns the error code of this BPMException object. |
BPMExceptionContext |
getExceptionContext()Gets exception context |
java.lang.String |
getLocalizedMessage()Gets localized message |
java.lang.String |
getMessage()Returns exception message string containing exception type, severity, name, description and fix. |
java.lang.String |
getName()Returns the error name of this BPMException object. |
java.lang.Throwable |
getRootCause()Obtain the exception that caused the BPMException 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, exception type, severity, name, description and fix. |
| 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 BPMException(int errorCode)
BPMException instance.
errorCode - an int valuepublic BPMException(BPMExceptionContext exCtx)
BPMException instance.
exCtx - BPMExceptionContext valuepublic BPMException(java.lang.Exception ex)
BPMException instance.
ex - Exception instance
public BPMException(int errorCode,
java.lang.Object[] objs,
java.lang.Throwable t)
BPMException instance.
errorCode - an int value, Logger's componentId is computed based on errorCodeobjs - a java.lang.Object[] valuet - a java.lang.Throwable value
public BPMException(Severity severity,
int errorCode,
java.lang.Object[] objs,
java.lang.Throwable t)
BPMException instance.
severity - a Severity valueerrorCode - an int value. Logger's componentId is computed based on errorCodeobjs - 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 BPMExceptionContext getExceptionContext()
BPMExceptionContext valuepublic LoggerComponent getComponent()
BPMException object.int valuepublic int getErrorCode()
BPMException object.public java.lang.Object[] getErrorArgs()
BPMException object.Object[] valuepublic java.lang.String getDescription()
BPMException object.String valuepublic final java.lang.String getName()
BPMException object.String valuepublic java.lang.Throwable getRootCause()
BPMException 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, exception type, severity, name, description and fix.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 | ||||||||