code: public static <T extends Exception> void exception(Class<T> exceptionClass, ExceptionHandler<? super T> handler) {
          getInstance().exception(exceptionClass, handler);
      }
docs: Maps an exception handler to be executed when an exception occurs during routing
  
  @param exceptionClass the exception class
  @param handler        The handler