public boolean equals()

in amoro-common/src/main/gen-java/org/apache/amoro/api/AmoroException.java [296:330]


  public boolean equals(AmoroException that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_errorCode = true;
    boolean that_present_errorCode = true;
    if (this_present_errorCode || that_present_errorCode) {
      if (!(this_present_errorCode && that_present_errorCode))
        return false;
      if (this.errorCode != that.errorCode)
        return false;
    }

    boolean this_present_errorName = true && this.isSetErrorName();
    boolean that_present_errorName = true && that.isSetErrorName();
    if (this_present_errorName || that_present_errorName) {
      if (!(this_present_errorName && that_present_errorName))
        return false;
      if (!this.errorName.equals(that.errorName))
        return false;
    }

    boolean this_present_message = true && this.isSetMessage();
    boolean that_present_message = true && that.isSetMessage();
    if (this_present_message || that_present_message) {
      if (!(this_present_message && that_present_message))
        return false;
      if (!this.message.equals(that.message))
        return false;
    }

    return true;
  }