code: public String[] getMessageWithParams() {
          String[] messageWithParams = new String[getParams().length+1];
          messageWithParams[0]=errorMessage;
          System.arraycopy(params, 0, messageWithParams, 1, messageWithParams.length - 1);
          return messageWithParams;
      }
docs: This method returns the message as the first element followed by all params.
  @return message and parameters in an array.