public class ServiceExceptionHandler extends Object
| Constructor and Description |
|---|
ServiceExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.http.ResponseEntity<Object> |
handleExceptionInternal(Exception ex,
Object body,
org.springframework.http.HttpHeaders headers,
org.springframework.http.HttpStatus status,
org.springframework.web.context.request.WebRequest request) |
org.springframework.http.ResponseEntity<Object> |
handleServiceException(ServiceException ex,
org.springframework.web.context.request.WebRequest request) |
@ExceptionHandler(value=ServiceException.class) public final org.springframework.http.ResponseEntity<Object> handleServiceException(ServiceException ex, org.springframework.web.context.request.WebRequest request)
Copyright © 2022. All rights reserved.