|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cedarsoft.exceptions.ErrorCode
public class ErrorCode
| Nested Class Summary | |
|---|---|
static class |
ErrorCode.Prefix
Represents a prefix for error codes. |
| Constructor Summary | |
|---|---|
ErrorCode(ErrorCode.Prefix prefix,
int id)
Creates a new error code |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
format()
Returns the error code formatted as string |
int |
getId()
Returns the id |
ErrorCode.Prefix |
getPrefix()
Returns the prefix of the error code |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorCode(@Nonnull
ErrorCode.Prefix prefix,
int id)
prefix - the prefixid - the id| Method Detail |
|---|
@Nonnull public ErrorCode.Prefix getPrefix()
public int getId()
@Nonnull public String format()
public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||