The Project        Download   Javadoc   SourceForge   Donate

HandlerExceptionManager

Registers handler for a specific or super class exception.

Contains 3 static methods:

  • register(Class<? extends Exception> exceptionClass, HandlerException handler) to register a handler for an exception
  • handle(Exception exception) to apply the registered handlers on the exception
  • handle(Exception exception, HashMap<String, Object> parameters) to apply the registered handlers on the exception using a map of parameters

If there is no registered handler, an empty handler will be register for the Exception.class.