private String getExceptionMessage ( Throwable pException ) { String message = pException . getLocalizedMessage ( ) ; return pException . getClass ( ) . getName ( ) + ( message != null ? " : " + message : "" ) ; }
Extract class and exception message for an error message