FieldError togo = new FieldError("", message.targetid, "", false, new String[] {message.messagecode}, message.args, null);
FieldError togo = new FieldError("", message.targetid, "", false, message.messagecodes, message.args, null);
  public static Object targettedMessageToSpringError(TargettedMessage message) {    if (message.targetid.equals(TargettedMessage.TARGET_NONE)) {      ObjectError togo = new ObjectError("", new String[] {message.messagecode}, message.args, null);      return togo;      }    else {      FieldError togo = new FieldError("", message.targetid, "", false, new String[] {message.messagecode}, message.args, null);      return togo;    }  }