| Package | Description |
|---|---|
| br.com.neppo.exceptions |
| Modifier and Type | Class and Description |
|---|---|
class |
ErrorCodes
Example error code structure class
|
| Modifier and Type | Method and Description |
|---|---|
DynamicException |
DynamicException.errorCode(ErrorCode codes) |
void |
DynamicException.setFromCode(ErrorCode code) |
static br.com.neppo.jlibs.CustomResponse<Object> |
DynamicException.toCustomResponse(Exception e,
ErrorCode code) |
static br.com.neppo.jlibs.CustomResponse<Object> |
DynamicException.toCustomResponse(String message,
ErrorCode code) |
static DynamicException |
DynamicException.toDynamicException(String message,
ErrorCode code) |
static DynamicException |
DynamicException.toDynamicException(Throwable throwable,
ErrorCode code) |
| Constructor and Description |
|---|
DynamicException(ErrorCode code,
String message) |
DynamicException(ErrorCode code,
String field,
String message) |
DynamicException(ErrorCode code,
String field,
String message,
Throwable throwable) |
DynamicException(ErrorCode code,
String message,
Throwable throwable) |
Copyright © 2019. All rights reserved.