@RestControllerAdvice public class ExceptionAdvisor extends Object
| Constructor and Description |
|---|
ExceptionAdvisor() |
| Modifier and Type | Method and Description |
|---|---|
Response |
exceptionHandler(Exception e) |
Response |
exceptionHandler(ExternalException e) |
Response |
exceptionHandler(GenericException e) |
Response |
exceptionHandler(IllegalGremlinException e) |
Response |
exceptionHandler(InternalException e) |
Response |
exceptionHandler(ParameterizedException e) |
@ExceptionHandler(value=InternalException.class) @ResponseStatus(value=OK) public Response exceptionHandler(InternalException e)
@ExceptionHandler(value=ExternalException.class) @ResponseStatus(value=OK) public Response exceptionHandler(ExternalException e)
@ExceptionHandler(value=GenericException.class) @ResponseStatus(value=OK) public Response exceptionHandler(GenericException e)
@ExceptionHandler(value=ParameterizedException.class) @ResponseStatus(value=OK) public Response exceptionHandler(ParameterizedException e)
@ExceptionHandler(value=java.lang.Exception.class) @ResponseStatus(value=OK) public Response exceptionHandler(Exception e)
@ExceptionHandler(value=IllegalGremlinException.class) @ResponseStatus(value=OK) public Response exceptionHandler(IllegalGremlinException e)
Copyright © 2024 The Apache Software Foundation. All rights reserved.