Interface UiExceptionHandler

All Known Implementing Classes:
AbstractUiExceptionHandler, OptimisticLockExceptionHandler, SilentExceptionHandler, UniqueConstraintViolationHandler

public interface UiExceptionHandler
Interface to be implemented by exception handlers
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    handle(Throwable exception)
    Handle an exception.
  • Method Details

    • handle

      boolean handle(Throwable exception)
      Handle an exception. Implementation class should either handle the exception and return true, or return false to delegate execution to the next handler in the chain of responsibility.
      Parameters:
      exception - throwable instance
      Returns:
      true if the exception has been successfully handled, false if not