public class ErrorCode
| Modifier and Type | Class and Description |
|---|---|
static class |
ErrorCode.Prefix
Represents a prefix for error codes. The prefix is used to structure the error codes. The ids are unique within a prefix.
|
| Constructor and Description |
|---|
ErrorCode()
Creates a new error code
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals() |
java.lang.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() |
java.lang.String |
toString() |
public ErrorCode.Prefix getPrefix()
Returns the prefix of the error code
public int getId()
Returns the id
public java.lang.String format()
Returns the error code formatted as string
public java.lang.String toString()
public boolean equals()
public int hashCode()