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