A structure that represents an error code, characterized by a domain and a message key.
| Modifier and Type | Field and Description |
|---|---|
| private String | fDomain
error domain |
| private String | fKey
message key |
| Access | Constructor and Description |
|---|---|
| public | XMLErrorCode(String
The error domain. domain, String The key of the error message. key)Constructs an XMLErrorCode with the given domain and key. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the object with which to compare. obj)Overrides java. Indicates whether some other object is equal to this XMLErrorCode. |
| public int | Returns: a hash code value for this XMLErrorCode.Overrides java. Returns a hash code value for this XMLErrorCode. |
| public void |
| fDomain | back to summary |
|---|---|
| private String fDomain error domain | |
| fKey | back to summary |
|---|---|
| private String fKey message key | |
| XMLErrorCode | back to summary |
|---|---|
| public XMLErrorCode(String domain, String key) Constructs an XMLErrorCode with the given domain and key. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Indicates whether some other object is equal to this XMLErrorCode.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hash code value for this XMLErrorCode.
| |
| setValues | back to summary |
|---|---|
| public void setValues(String domain, String key) Convenience method to set the values of an XMLErrorCode. | |