@ControllerAdvice
public class ExceptionHandlers
extends org.craftercms.commons.rest.BaseRestExceptionHandlers
| Constructor and Description |
|---|
ExceptionHandlers() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Object> |
handleIndexNotFoundException(IndexNotFoundException ex,
org.springframework.web.context.request.WebRequest request) |
org.springframework.http.ResponseEntity<Object> |
handleSearchServerException(SearchServerException ex,
org.springframework.web.context.request.WebRequest request) |
handleExceptionInternal, handleExceptionInternal, handleGeneralExceptionhandleAsyncRequestTimeoutException, handleBindException, handleConversionNotSupported, handleException, handleHttpMediaTypeNotAcceptable, handleHttpMediaTypeNotSupported, handleHttpMessageNotReadable, handleHttpMessageNotWritable, handleHttpRequestMethodNotSupported, handleMethodArgumentNotValid, handleMissingPathVariable, handleMissingServletRequestParameter, handleMissingServletRequestPart, handleNoHandlerFoundException, handleNoSuchRequestHandlingMethod, handleServletRequestBindingException, handleTypeMismatch@ExceptionHandler(value=org.craftercms.search.exception.IndexNotFoundException.class) public org.springframework.http.ResponseEntity<Object> handleIndexNotFoundException(IndexNotFoundException ex, org.springframework.web.context.request.WebRequest request)
@ExceptionHandler(value=org.craftercms.search.exception.SearchServerException.class) public org.springframework.http.ResponseEntity<Object> handleSearchServerException(SearchServerException ex, org.springframework.web.context.request.WebRequest request)
Copyright © 2019 CrafterCMS. All rights reserved.