@ControllerAdvice
public final class ExceptionHandling
extends java.lang.Object
implements org.zalando.problem.spring.web.advice.ProblemHandling
| Constructor and Description |
|---|
ExceptionHandling() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
formatFieldName(java.lang.String fieldName) |
org.springframework.http.ResponseEntity<org.zalando.problem.Problem> |
handleMessageNotReadableException(org.springframework.http.converter.HttpMessageNotReadableException exception,
org.springframework.web.context.request.NativeWebRequest request) |
org.springframework.http.ResponseEntity<org.zalando.problem.Problem> |
handleThrowable(java.lang.Throwable throwable,
org.springframework.web.context.request.NativeWebRequest request) |
default org.springframework.http.ResponseEntity<org.zalando.problem.Problem> |
newConstraintViolationProblem(java.util.Collection<org.zalando.problem.spring.web.advice.validation.Violation> arg0,
org.springframework.web.context.request.NativeWebRequest arg1) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleProblemhandleUnsupportedOperationhandleMediaTypeNotAcceptablehandleMediaTypeNotSupportedExceptionhandleRequestMethodNotSupportedExceptionhandleMultiparthandleTypeMismatchhandleMissingServletRequestParameterhandleMissingServletRequestParthandleNoHandlerFoundhandleNoSuchRequestHandlingMethodhandleServletRequestBindingpublic java.lang.String formatFieldName(java.lang.String fieldName)
@ExceptionHandler
public org.springframework.http.ResponseEntity<org.zalando.problem.Problem> handleThrowable(java.lang.Throwable throwable,
org.springframework.web.context.request.NativeWebRequest request)
handleThrowable in interface org.zalando.problem.spring.web.advice.general.ThrowableAdviceTrait@ExceptionHandler
public org.springframework.http.ResponseEntity<org.zalando.problem.Problem> handleMessageNotReadableException(org.springframework.http.converter.HttpMessageNotReadableException exception,
org.springframework.web.context.request.NativeWebRequest request)
handleMessageNotReadableException in interface org.zalando.problem.spring.web.advice.io.MessageNotReadableAdviceTraitpublic org.springframework.http.ResponseEntity<org.zalando.problem.Problem> newConstraintViolationProblem(java.util.Collection<org.zalando.problem.spring.web.advice.validation.Violation> arg0,
org.springframework.web.context.request.NativeWebRequest arg1)