code: private static String getExceptionMessage(final String[] exception) {
          StringBuffer buff = new StringBuffer();
          for (int i = 0; i < exception.length; i++) {
              buff.append(exception[i]);
          }
          return buff.toString();
      }
docs: Get message from throwable representation.
  @param exception exception
  @return message