|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.adf.model.binding.DCErrorHandlerImpl
public class DCErrorHandlerImpl
Implements a default error handling class for the ADF framework. This handler caches the exception in the bindingContainer and then if 'Throw' flag is set, throws exceptions it receives as JboExceptions (by creating a JboException if required).
JboException, JUErrorHandler| Constructor Summary | |
|---|---|
DCErrorHandlerImpl(boolean setToThrow) |
|
| Method Summary | |
|---|---|
DCErrorMessage |
getDetailedDisplayMessage(BindingContext ctx, RegionBinding ctr, java.lang.Exception ex)Returns application specific details about the given exception. |
java.lang.String |
getDisplayMessage(BindingContext ctx, java.lang.Exception th)Returns the exception message. |
boolean |
isThrowFlag() |
void |
reportException(DCBindingContainer formBnd, java.lang.Exception ex)This method simply throws the exception 'ex' as a JboException (by creating a new JboException if required). |
void |
setThrowFlag(boolean flag) |
protected boolean |
skipException(java.lang.Exception ex)If an exception is a RowValException or a TxnValException and they have nested exceptions, then do not display it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DCErrorHandlerImpl(boolean setToThrow)
| Method Detail |
|---|
public boolean isThrowFlag()
isThrowFlag in interface DCCachingErrorHandlerpublic void setThrowFlag(boolean flag)
setThrowFlag in interface DCCachingErrorHandler
public void reportException(DCBindingContainer formBnd,
java.lang.Exception ex)
reportException in interface DCErrorHandlerprotected boolean skipException(java.lang.Exception ex)
public java.lang.String getDisplayMessage(BindingContext ctx,
java.lang.Exception th)
getDisplayMessage in interface DCErrorMessageHandler
public DCErrorMessage getDetailedDisplayMessage(BindingContext ctx,
RegionBinding ctr,
java.lang.Exception ex)
getDetailedDisplayMessage in interface DCErrorMessageHandlerctx - BindingContext for the usage that raised this exception.ctr - BindingContainer that is associated with the UI that caused this exception.ex - Exception for which detailed display message is asked for.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||