|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adf.model.binding.DCErrorHandlerImpl oracle.apps.fnd.applcore.messages.MessageFormatHandler
public class MessageFormatHandler
Implements the Exception Handling
Field Summary | |
---|---|
static java.lang.String |
FAILSAFE_ERROR
|
static java.lang.String |
FND_CMN_SYS_ERR
|
Constructor Summary | |
---|---|
MessageFormatHandler()
Create an instance with throwFlag = false |
|
MessageFormatHandler(boolean b)
|
Method Summary | |
---|---|
oracle.adf.model.binding.DCErrorMessage |
getDetailedDisplayMessage(oracle.adf.model.BindingContext ctx,
oracle.adf.model.RegionBinding ctr,
java.lang.Exception ex)
|
java.lang.String |
getDisplayMessage(oracle.adf.model.BindingContext ctx,
java.lang.Exception ex)
Returns a message for UI. |
protected boolean |
isDisplayOnlyException(java.lang.Throwable ex)
Returns true if it is an exception for non-System Error and just displaying message is required (incident report and logging are not required). |
void |
reportException(oracle.adf.model.binding.DCBindingContainer formBnd,
java.lang.Exception ex)
Creates an incident report when ex is a system error and update the exception message to a user-friendly message |
Methods inherited from class oracle.adf.model.binding.DCErrorHandlerImpl |
---|
isThrowFlag, setThrowFlag, skipException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FND_CMN_SYS_ERR
public static final java.lang.String FAILSAFE_ERROR
Constructor Detail |
---|
public MessageFormatHandler()
public MessageFormatHandler(boolean b)
Method Detail |
---|
public java.lang.String getDisplayMessage(oracle.adf.model.BindingContext ctx, java.lang.Exception ex)
getDisplayMessage
in interface oracle.adf.model.binding.DCErrorMessageHandler
getDisplayMessage
in class oracle.adf.model.binding.DCErrorHandlerImpl
ctx
- ex
-
public oracle.adf.model.binding.DCErrorMessage getDetailedDisplayMessage(oracle.adf.model.BindingContext ctx, oracle.adf.model.RegionBinding ctr, java.lang.Exception ex)
getDetailedDisplayMessage
in interface oracle.adf.model.binding.DCErrorMessageHandler
getDetailedDisplayMessage
in class oracle.adf.model.binding.DCErrorHandlerImpl
ctx
- ctr
- ex
-
protected boolean isDisplayOnlyException(java.lang.Throwable ex)
ex
-
public void reportException(oracle.adf.model.binding.DCBindingContainer formBnd, java.lang.Exception ex)
reportException
in interface oracle.adf.model.binding.DCErrorHandler
reportException
in class oracle.adf.model.binding.DCErrorHandlerImpl
formBnd
- ex
-
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |