@Component(value="cuba_MssqlDateOutOfRangeExceptionHandler") public class MssqlDateOutOfRangeExceptionHandler extends java.lang.Object implements GenericExceptionHandler
UiExceptionHandler.UiContext
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
className |
protected static java.lang.String |
MESSAGE |
protected Messages |
messages |
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE
Constructor and Description |
---|
MssqlDateOutOfRangeExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
doHandle(WindowManager windowManager) |
boolean |
handle(java.lang.Throwable exception,
WindowManager windowManager)
Handle an exception.
|
protected boolean |
isDateOutOfRangeMessage(java.lang.String message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handle
protected java.lang.String className
protected static final java.lang.String MESSAGE
@Inject protected Messages messages
public boolean handle(java.lang.Throwable exception, WindowManager windowManager)
GenericExceptionHandler
handle
in interface GenericExceptionHandler
exception
- exception instancewindowManager
- WindowManagerImpl instanceprotected boolean isDateOutOfRangeMessage(java.lang.String message)
protected void doHandle(WindowManager windowManager)