Interface EventExceptionManager.ExceptionFactory

All Known Implementing Classes:
LayoutException.LayoutExceptionFactory, PageProductionException.PageProductionExceptionFactory, PropertyExceptionFactory, UnsupportedOperationExceptionFactory, ValidationExceptionFactory
Enclosing class:
EventExceptionManager

public static interface EventExceptionManager.ExceptionFactory
This interface is implementation by exception factories that can create exceptions from events.
  • Method Details

    • createException

      Throwable createException(Event event)
      Creates an exception from an event.
      Parameters:
      event - the event
      Returns:
      the newly created exception
    • getExceptionClass

      Class<? extends Exception> getExceptionClass()
      Returns the Exception class created by this factory.
      Returns:
      the exception class