Knowing you exception class name

To know what is your exception class name, in case you want to have a more specific catch.

} catch (Exception e){
LOG.error("SQL error when processing " + requestId+". Exception class:"+ e.getClass().getCanonicalName());
throw(e);
}

Leave a Reply

Your email address will not be published. Required fields are marked *


6 + = eight