@RestControllerAdvice
public class MissingKotlinParameterExceptionHandler
Represents the REST controller that handles MissingKotlinParameterException and returns an appropriate HTTP response.
class ConstraintViolationExceptionHandler,
annotationclass ExceptionHandlerpublic MissingKotlinParameterExceptionHandler(@NotNull
ConstraintViolationExceptionHandler constraintViolationExceptionHandler)
Represents the REST controller that handles MissingKotlinParameterException and returns an appropriate HTTP response.
constraintViolationExceptionHandler - specifies the class ConstraintViolationExceptionHandlerclass ConstraintViolationExceptionHandler,
annotationclass ExceptionHandler@ExceptionHandler
@NotNull
public org.springframework.http.ResponseEntity<?> handleMissingKotlinParameterException(@NotNull
com.fasterxml.jackson.module.kotlin.MissingKotlinParameterException ex,
@Nullable
java.util.Locale locale)
Handles MissingKotlinParameterException and delegates the response to constraintViolationExceptionHandler.
ex - specifies the MissingKotlinParameterExceptionlocale - specifies the Locale of the Request