@ -46,6 +46,11 @@ public class ErrorResponseException extends NestedRuntimeException implements Er
@@ -46,6 +46,11 @@ public class ErrorResponseException extends NestedRuntimeException implements Er
privatefinalProblemDetailbody;
privatefinalStringmessageDetailCode;
@Nullable
privatefinalObject[]messageDetailArguments;
/**
*Constructorwitha{@linkHttpStatusCode}.
@ -66,11 +71,32 @@ public class ErrorResponseException extends NestedRuntimeException implements Er
@@ -66,11 +71,32 @@ public class ErrorResponseException extends NestedRuntimeException implements Er
@ -133,6 +159,16 @@ public class ErrorResponseException extends NestedRuntimeException implements Er
@@ -133,6 +159,16 @@ public class ErrorResponseException extends NestedRuntimeException implements Er
getBody().setDetail("Could not parse Accept header.");
}
@ -49,9 +53,8 @@ public class HttpMediaTypeNotAcceptableException extends HttpMediaTypeException
@@ -49,9 +53,8 @@ public class HttpMediaTypeNotAcceptableException extends HttpMediaTypeException
@ -49,7 +54,7 @@ public class HttpMediaTypeNotSupportedException extends HttpMediaTypeException {
@@ -49,7 +54,7 @@ public class HttpMediaTypeNotSupportedException extends HttpMediaTypeException {
getBody().setDetail("Could not parse Content-Type.");
@ -89,7 +94,7 @@ public class HttpMediaTypeNotSupportedException extends HttpMediaTypeException {
@@ -89,7 +94,7 @@ public class HttpMediaTypeNotSupportedException extends HttpMediaTypeException {
@ -52,7 +52,9 @@ public class HttpRequestMethodNotSupportedException extends ServletException imp
@@ -52,7 +52,9 @@ public class HttpRequestMethodNotSupportedException extends ServletException imp
@ -61,7 +63,9 @@ public class HttpRequestMethodNotSupportedException extends ServletException imp
@@ -61,7 +63,9 @@ public class HttpRequestMethodNotSupportedException extends ServletException imp
@ -69,7 +73,7 @@ public class HttpRequestMethodNotSupportedException extends ServletException imp
@@ -69,7 +73,7 @@ public class HttpRequestMethodNotSupportedException extends ServletException imp
@ -78,8 +82,10 @@ public class HttpRequestMethodNotSupportedException extends ServletException imp
@@ -78,8 +82,10 @@ public class HttpRequestMethodNotSupportedException extends ServletException imp
this(method,supportedMethods,"Request method '"+method+"' is not supported");
}
@ -89,7 +95,9 @@ public class HttpRequestMethodNotSupportedException extends ServletException imp
@@ -89,7 +95,9 @@ public class HttpRequestMethodNotSupportedException extends ServletException imp
@ -153,4 +161,9 @@ public class HttpRequestMethodNotSupportedException extends ServletException imp
@@ -153,4 +161,9 @@ public class HttpRequestMethodNotSupportedException extends ServletException imp
@ -52,6 +60,7 @@ public class MethodArgumentNotValidException extends BindException implements Er
@@ -52,6 +60,7 @@ public class MethodArgumentNotValidException extends BindException implements Er
@ -85,4 +94,58 @@ public class MethodArgumentNotValidException extends BindException implements Er
@@ -85,4 +94,58 @@ public class MethodArgumentNotValidException extends BindException implements Er
@ -54,7 +54,7 @@ public class MissingMatrixVariableException extends MissingRequestValueException
@@ -54,7 +54,7 @@ public class MissingMatrixVariableException extends MissingRequestValueException
@ -58,7 +58,7 @@ public class MissingPathVariableException extends MissingRequestValueException {
@@ -58,7 +58,7 @@ public class MissingPathVariableException extends MissingRequestValueException {
@ -54,7 +54,7 @@ public class MissingRequestCookieException extends MissingRequestValueException
@@ -54,7 +54,7 @@ public class MissingRequestCookieException extends MissingRequestValueException
@ -54,7 +54,7 @@ public class MissingRequestHeaderException extends MissingRequestValueException
@@ -54,7 +54,7 @@ public class MissingRequestHeaderException extends MissingRequestValueException
@ -30,15 +33,35 @@ public class MissingRequestValueException extends ServletRequestBindingException
@@ -30,15 +33,35 @@ public class MissingRequestValueException extends ServletRequestBindingException
@ -49,7 +49,7 @@ public class MissingServletRequestParameterException extends MissingRequestValue
@@ -49,7 +49,7 @@ public class MissingServletRequestParameterException extends MissingRequestValue
@ -39,24 +40,68 @@ public class ServletRequestBindingException extends ServletException implements
@@ -39,24 +40,68 @@ public class ServletRequestBindingException extends ServletException implements
@ -67,4 +112,14 @@ public class ServletRequestBindingException extends ServletException implements
@@ -67,4 +112,14 @@ public class ServletRequestBindingException extends ServletException implements
@ -56,30 +57,28 @@ public class UnsatisfiedServletRequestParameterException extends ServletRequestB
@@ -56,30 +57,28 @@ public class UnsatisfiedServletRequestParameterException extends ServletRequestB
@ -45,11 +48,18 @@ public class WebExchangeBindException extends ServerWebInputException implements
@@ -45,11 +48,18 @@ public class WebExchangeBindException extends ServerWebInputException implements
@ -289,6 +299,14 @@ public class WebExchangeBindException extends ServerWebInputException implements
@@ -289,6 +299,14 @@ public class WebExchangeBindException extends ServerWebInputException implements
@ -84,4 +84,9 @@ public class MissingServletRequestPartException extends ServletException impleme
@@ -84,4 +84,9 @@ public class MissingServletRequestPartException extends ServletException impleme
@ -48,17 +47,17 @@ public class MethodNotAllowedException extends ResponseStatusException {
@@ -48,17 +47,17 @@ public class MethodNotAllowedException extends ResponseStatusException {
@ -36,7 +36,9 @@ public class MissingRequestValueException extends ServerWebInputException {
@@ -36,7 +36,9 @@ public class MissingRequestValueException extends ServerWebInputException {
@ -41,7 +45,7 @@ public class NotAcceptableStatusException extends ResponseStatusException {
@@ -41,7 +45,7 @@ public class NotAcceptableStatusException extends ResponseStatusException {
getBody().setDetail("Could not parse Accept header.");
}
@ -50,10 +54,11 @@ public class NotAcceptableStatusException extends ResponseStatusException {
@@ -50,10 +54,11 @@ public class NotAcceptableStatusException extends ResponseStatusException {
@ -78,6 +79,22 @@ public class ResponseStatusException extends ErrorResponseException {
@@ -78,6 +79,22 @@ public class ResponseStatusException extends ErrorResponseException {
@ -45,7 +45,7 @@ public class ServerErrorException extends ResponseStatusException {
@@ -45,7 +45,7 @@ public class ServerErrorException extends ResponseStatusException {
@ -55,7 +55,7 @@ public class ServerErrorException extends ResponseStatusException {
@@ -55,7 +55,7 @@ public class ServerErrorException extends ResponseStatusException {
@ -64,7 +64,7 @@ public class ServerErrorException extends ResponseStatusException {
@@ -64,7 +64,7 @@ public class ServerErrorException extends ResponseStatusException {
@ -53,7 +53,18 @@ public class ServerWebInputException extends ResponseStatusException {
@@ -53,7 +53,18 @@ public class ServerWebInputException extends ResponseStatusException {
@ -36,12 +36,10 @@ public class UnsatisfiedRequestParameterException extends ServerWebInputExceptio
@@ -36,12 +36,10 @@ public class UnsatisfiedRequestParameterException extends ServerWebInputExceptio
@ -52,7 +57,7 @@ public class UnsupportedMediaTypeStatusException extends ResponseStatusException
@@ -52,7 +57,7 @@ public class UnsupportedMediaTypeStatusException extends ResponseStatusException
@ -92,9 +97,8 @@ public class UnsupportedMediaTypeStatusException extends ResponseStatusException
@@ -92,9 +97,8 @@ public class UnsupportedMediaTypeStatusException extends ResponseStatusException
@ -104,6 +108,11 @@ public class UnsupportedMediaTypeStatusException extends ResponseStatusException
@@ -104,6 +108,11 @@ public class UnsupportedMediaTypeStatusException extends ResponseStatusException
setDetail(contentType!=null?"Content-Type '"+contentType+"' is not supported.":null);
@ -306,12 +319,25 @@ public abstract class ResponseEntityExceptionHandler {
@@ -306,12 +319,25 @@ public abstract class ResponseEntityExceptionHandler {
@ -504,12 +519,25 @@ public abstract class ResponseEntityExceptionHandler {
@@ -504,12 +519,25 @@ public abstract class ResponseEntityExceptionHandler {