public class DCErrorHandlerImpl extends java.lang.Object implements DCCachingErrorHandler, DCErrorMessageHandler
JboException,
JUErrorHandler| Modifier | Constructor and Description |
|---|---|
protected |
DCErrorHandlerImpl()
For subclasses to initialize a non-throwing DCErrrorHandlerImpl as the default.
|
|
DCErrorHandlerImpl(boolean setToThrow) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected DCErrorHandlerImpl()
public DCErrorHandlerImpl(boolean setToThrow)
public boolean isThrowFlag()
isThrowFlag in interface DCCachingErrorHandlerpublic void setThrowFlag(boolean flag)
setThrowFlag in interface DCCachingErrorHandlerpublic 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 DCErrorMessageHandlerpublic 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.