@EnableWebMvc
@ControllerAdvice(value="eu.dnetlib.data.search.web.api",
assignableTypes=SearchRequestController.class)
public class ExceptionController
extends org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
| Constructor and Description |
|---|
ExceptionController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Error> |
invalidInput(Exception ex) |
handleBindException, handleConversionNotSupported, handleException, handleExceptionInternal, handleHttpMediaTypeNotAcceptable, handleHttpMediaTypeNotSupported, handleHttpMessageNotReadable, handleHttpMessageNotWritable, handleHttpRequestMethodNotSupported, handleMethodArgumentNotValid, handleMissingPathVariable, handleMissingServletRequestParameter, handleMissingServletRequestPart, handleNoHandlerFoundException, handleNoSuchRequestHandlingMethod, handleServletRequestBindingException, handleTypeMismatch@ExceptionHandler(value=java.lang.Exception.class) public org.springframework.http.ResponseEntity<Error> invalidInput(Exception ex)
Copyright © 2020. All rights reserved.