Use ExceptionHandler class to print debug information