@Component(value="cuba_NumericOverflowExceptionHandler") public class NumericOverflowExceptionHandler extends AbstractGenericExceptionHandler
UiExceptionHandler.UiContext
classNames
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE
Constructor and Description |
---|
NumericOverflowExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canHandle(java.lang.String className,
java.lang.String message,
java.lang.Throwable throwable)
Should be implemented in subclasses if the exception class name is not enough to determine the ability to
handle the exception.
|
protected void |
doHandle(java.lang.String className,
java.lang.String message,
java.lang.Throwable throwable,
WindowManager windowManager)
Perform exception handling.
|
handle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handle
protected boolean canHandle(java.lang.String className, java.lang.String message, @Nullable java.lang.Throwable throwable)
AbstractGenericExceptionHandler
canHandle
in class AbstractGenericExceptionHandler
className
- exception class namemessage
- exception messagethrowable
- exception instance. Can be null if the exception occurred on the server side and this
exception class isn't accessible by the client.protected void doHandle(java.lang.String className, java.lang.String message, @Nullable java.lang.Throwable throwable, WindowManager windowManager)
AbstractGenericExceptionHandler
doHandle
in class AbstractGenericExceptionHandler
className
- actual exception class namemessage
- exception messagethrowable
- exception instance. Can be null if the exception occurred on the server side and this
exception class isn't accessible by the client.windowManager
- WindowManager instance