Avoid reference to HandlerMethod class in ServerErrorException
This breaks the package dependency cycle between web.server/web.method and makes ServerErrorException more generally applicable. Includes deprecation of the plain reason constructor variant, in favor of providing a Method or MethodParameter context (which MatrixVariableMethodArgumentResolver does now).
@ -85,18 +78,29 @@ public class ServerErrorException extends ResponseStatusException {
@@ -85,18 +78,29 @@ public class ServerErrorException extends ResponseStatusException {
@ -109,7 +109,7 @@ public class SyncInvocableHandlerMethod extends HandlerMethod {
@@ -109,7 +109,7 @@ public class SyncInvocableHandlerMethod extends HandlerMethod {
@ -98,7 +98,8 @@ public class MatrixVariableMethodArgumentResolver extends AbstractNamedValueSync
@@ -98,7 +98,8 @@ public class MatrixVariableMethodArgumentResolver extends AbstractNamedValueSync