@Component(value="cuba_UniqueConstraintViolationHandler") public class UniqueConstraintViolationHandler extends java.lang.Object implements GenericExceptionHandler, org.springframework.core.Ordered
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE
Constructor and Description |
---|
UniqueConstraintViolationHandler() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
boolean |
handle(java.lang.Throwable exception,
WindowManager windowManager)
Handle an exception.
|
public boolean handle(java.lang.Throwable exception, WindowManager windowManager)
GenericExceptionHandler
handle
in interface GenericExceptionHandler
exception
- exception instancewindowManager
- WindowManager instancepublic int getOrder()
getOrder
in interface org.springframework.core.Ordered