Package org.vrspace.server.api
Class ApiExceptionResolver
- java.lang.Object
-
- org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
- org.vrspace.server.api.ApiExceptionResolver
-
@ControllerAdvice public class ApiExceptionResolver extends org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ApiExceptionResolver.ErrorMessage
-
Constructor Summary
Constructors Constructor Description ApiExceptionResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.http.ResponseEntity<Object>
handleConflict(RuntimeException ex, org.springframework.web.context.request.WebRequest request)
-
Methods inherited from class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
handleAsyncRequestTimeoutException, handleBindException, handleConversionNotSupported, handleException, handleExceptionInternal, handleHttpMediaTypeNotAcceptable, handleHttpMediaTypeNotSupported, handleHttpMessageNotReadable, handleHttpMessageNotWritable, handleHttpRequestMethodNotSupported, handleMethodArgumentNotValid, handleMissingPathVariable, handleMissingServletRequestParameter, handleMissingServletRequestPart, handleNoHandlerFoundException, handleServletRequestBindingException, handleTypeMismatch
-
-
-
-
Method Detail
-
handleConflict
@ExceptionHandler(ApiException.class) protected org.springframework.http.ResponseEntity<Object> handleConflict(RuntimeException ex, org.springframework.web.context.request.WebRequest request)
-
-