public interface AppError
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Return the unique code for this error.
|
java.lang.String |
getMessage(java.lang.Object... args)
Return the error message describing this error.
|
int getCode()
int
code.java.lang.String getMessage(java.lang.Object... args)
args
- Optional args used for formatting the error message.String
containing the error message.