|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.jbo.JboWarning
oracle.jbo.JboException
oracle.adf.model.adapter.AdapterException
public final class AdapterException
AdapterException
is thrown from the adapter common runtime layer.
Field Summary | |
---|---|
static java.lang.String |
DCA_PRODUCT_CODE
|
Fields inherited from class oracle.jbo.JboException |
---|
mHasPeerException |
Fields inherited from class oracle.jbo.JboWarning |
---|
HIDE_DETAIL_EXCEPTIONS_HINT, mHelper, SEVERITY_ERROR, SEVERITY_RAC_RECOVERABLE_ERROR, SEVERITY_RECOVERABLE_ERROR, SEVERITY_VETOABLE_WARNING, SEVERITY_WARNING |
Constructor Summary | |
---|---|
AdapterException(java.lang.Class resClass,
java.lang.String errCode)
Creates an adapter exception from an error code. |
|
AdapterException(java.lang.Class resClass,
java.lang.String errCode,
java.lang.Object[] params)
Creates an adapter exception from an error code that takes parameter values. |
|
AdapterException(java.lang.Throwable cause)
Creates an exception for another exception as a cause. |
Method Summary | |
---|---|
java.lang.String |
getProductCode()
Returns a message's product code. |
AdapterException |
setCause(java.lang.Throwable ex)
Sets the cause exception for what this exception is thrown. |
Methods inherited from class oracle.jbo.JboException |
---|
addToDetails, addToExceptions, containsException, doEntityToVOMapping, getExceptions, hasPeerExceptions, needsEntityToVOMapping, printStackTrace, printStackTrace, printStackTrace, setApplicationModule, setDetails, setExceptions, setNeedsEntityToVOMapping |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DCA_PRODUCT_CODE
Constructor Detail |
---|
public AdapterException(java.lang.Class resClass, java.lang.String errCode)
resClass
- The resource bundle class for the exceptions.errCode
- The error code defined as a key in the reaource bundle.public AdapterException(java.lang.Class resClass, java.lang.String errCode, java.lang.Object[] params)
resClass
- The resource bundle class for the exceptions.errCode
- The error code defined as a key in the reaource bundle.params
- Parameters passed to the error text.public AdapterException(java.lang.Throwable cause)
Method Detail |
---|
public AdapterException setCause(java.lang.Throwable ex)
ex
- The cause exception.public java.lang.String getProductCode()
getProductCode
in interface JboMessage
getProductCode
in class JboWarning
"DCA"
.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |