A structure that represents an error code, characterized by a domain and a message key.
Constructs an XMLErrorCode with the given domain and key.paramdomain The error domain.paramkey The key of the error message. fDomain = domain; fKey = key;
Constructs an XMLErrorCode with the given domain and key.
fDomain = domain; fKey = key;
Indicates whether some other object is equal to this XMLErrorCode.paramobj the object with which to compare. if (!(obj instanceof XMLErrorCode)) return false; XMLErrorCode err = (XMLErrorCode) obj; return (fDomain.equals(err.fDomain) && fKey.equals(err.fKey));
Indicates whether some other object is equal to this XMLErrorCode.
if (!(obj instanceof XMLErrorCode)) return false; XMLErrorCode err = (XMLErrorCode) obj; return (fDomain.equals(err.fDomain) && fKey.equals(err.fKey));
Returns a hash code value for this XMLErrorCode.returna hash code value for this XMLErrorCode. return fDomain.hashCode() + fKey.hashCode();
Returns a hash code value for this XMLErrorCode.
return fDomain.hashCode() + fKey.hashCode();
Convenience method to set the values of an XMLErrorCode.paramdomain The error domain.paramkey The key of the error message. fDomain = domain; fKey = key;
Convenience method to set the values of an XMLErrorCode.