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

    boolean this_present_traceback = true && this.isSetTraceback();
    boolean that_present_traceback = true && that.isSetTraceback();
    if (this_present_traceback || that_present_traceback) {
      if (!(this_present_traceback && that_present_traceback))
        return false;
      if (!this.traceback.equals(that.traceback))
        return false;
    }

    return true;
  }
public boolean equals(PythonUnhandledException that)