| Package | Description |
|---|---|
| com.github.aidensuen.web.exception |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleErrorInfo |
| Modifier and Type | Field and Description |
|---|---|
static ErrorInfo |
SimpleErrorInfo.DEFAULT_FAIL |
static ErrorInfo |
SimpleErrorInfo.SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity |
RestControllerExceptionCatch.generateResponseInternal(ErrorInfo e) |
org.springframework.http.ResponseEntity |
ControllerExceptionCatch.generateResponseInternal(ErrorInfo e) |
void |
RestControllerExceptionCatch.registerException(Class<? extends Throwable> clz,
ErrorInfo errorInfo) |
void |
ControllerExceptionCatch.registerException(Class<? extends Throwable> clz,
ErrorInfo errorInfo) |
| Constructor and Description |
|---|
BusinessException(ErrorInfo errorInfo) |
Copyright © 2019. All rights reserved.