Interface UiExceptionHandler

All Known Implementing Classes:
AbstractUiExceptionHandler, AccessDeniedExceptionHandler, DeletePolicyExceptionHandler, FileStorageExceptionHandler, LayerLoadingExceptionHandler, OptimisticLockExceptionHandler, ReportExceptionHandler, SilentExceptionHandler, TemplateNotFoundExceptionHandler, UniqueConstraintViolationHandler, WebdavExceptionHandler

public interface UiExceptionHandler
Interface to be implemented by UI exception handlers defined.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Exception handling context that provides UI infrastructure.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Handle an exception.
  • Method Details

    • handle

      boolean handle(Throwable exception, UiExceptionHandler.UiContext context)
      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 - exception instance
      context - UI context
      Returns:
      true if the exception has been successfully handled, false if not