public class DCErrorHandlerThrow extends java.lang.Object implements DCErrorMessageHandler
JboException,
JUErrorHandler| Constructor and Description |
|---|
DCErrorHandlerThrow() |
| 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)
Given an exception or an error, process it and return a formatted
message string for the given locale.
|
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).
|
public void reportException(DCBindingContainer formBnd, java.lang.Exception ex)
reportException in interface DCErrorHandlerpublic java.lang.String getDisplayMessage(BindingContext ctx, java.lang.Exception th)
DCErrorMessageHandlergetDisplayMessage 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.