public class LocalCodeException extends Exception implements ErrorCode
ErrorCode.| Constructor and Description |
|---|
LocalCodeException(ErrorCode code) |
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Identifier of the code.
|
String |
getMessage()
The message associated to the code
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LocalCodeException(ErrorCode code)
public int getId()
ErrorCodepublic String getMessage()
ErrorCodegetMessage in interface ErrorCodegetMessage in class ThrowableCopyright © 2018. All Rights Reserved.