|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmessif.utility.ErrorCode
public class ErrorCode
Field Summary | |
---|---|
static ErrorCode |
NOT_SET
The initial value of an error code that was not set yet. |
protected java.lang.String |
text
Holder of the current error code text |
static ErrorCode |
UNKNOWN_ERROR
Not specific error appeared. |
Constructor Summary | |
---|---|
protected |
ErrorCode(ErrorCode source)
Creates a new instance of ErrorCode. |
protected |
ErrorCode(java.lang.String text)
Creates a new instance of ErrorCode. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
|
int |
hashCode()
|
boolean |
isSet()
Returns true if the error code is not set yet (i.e. |
boolean |
isUnknownError()
Returns true if the error code is unknown error (i.e. |
java.lang.String |
toString()
Interface and global overrides |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static ErrorCode NOT_SET
public static ErrorCode UNKNOWN_ERROR
protected final java.lang.String text
Constructor Detail |
---|
protected ErrorCode(java.lang.String text)
protected ErrorCode(ErrorCode source)
Method Detail |
---|
public boolean isSet()
public boolean isUnknownError()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |