public class ExceptionMessage
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
ExceptionMessage() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object oth) |
java.lang.Long |
getId() |
java.lang.String |
getLabel() |
java.lang.String |
getMessage() |
int |
hashCode() |
static ExceptionMessage |
lookup(long exceptionId)
Returns the exception message object associated to this id
|
protected void |
setId(java.lang.Long i) |
protected void |
setLabel(java.lang.String l) |
protected void |
setMessage(java.lang.String n) |
java.lang.String |
toString() |
public static ExceptionMessage lookup(long exceptionId)
exceptionId
- the exception idpublic java.lang.Long getId()
protected void setId(java.lang.Long i)
i
- The id to set.public java.lang.String getLabel()
protected void setLabel(java.lang.String l)
l
- The label to set.public java.lang.String getMessage()
protected void setMessage(java.lang.String n)
n
- The message to set.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object oth)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object