|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.7.0) E25378-07 |
||||||||
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
valuepublic BPMRuntimeException(Severity severity, int errorCode, java.lang.Object[] objs)
BPMRuntimeException
instance.
severity
- a Severity
valueerrorCode
- an int
valueobjs
- a java.lang.Object[]
valuepublic 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
valueMethod Detail |
---|
public static void setPropertyBundleName(java.lang.String name, java.util.Locale locale) throws java.lang.Exception
name
- a String
valuelocale
- a Locale
value
java.lang.Exception
- if an error occurspublic static void setPropertyBundleName(java.lang.String name) throws java.lang.Exception
name
- a String
value
java.lang.Exception
- if an error occurspublic static void setLocale(java.util.Locale l) throws java.lang.Exception
l
-
java.lang.Exception
public 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.Throwable
String
valuepublic java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
String
valuepublic java.lang.String toString()
ErrorCode
, name, description and fix (if available)
toString
in class java.lang.Throwable
String
value
|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.7.0) E25378-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |