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