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

@param exceptionClass the exception class
@param handler        The handler
src/main/java/spark/Spark.java