Package io.micronaut.http.server.exceptions
package io.micronaut.http.server.exceptions
HTTP server exceptions.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
ClassDescriptionDefault handler for
BufferLengthExceededExceptionerrors.Default handler forContentLengthExceededExceptionerrors.Handles exception of typeConversionErrorException.Handles exceptions of typeDuplicateRouteException.ErrorExceptionHandler<T extends Throwable>An abstract class to handle exceptions with anErrorand responding a Bad Request HTTP Response via theErrorResponseProcessorAPI.ErrorResponseProcessorExceptionHandler<T extends Throwable>An abstract class to handle exceptions via an HTTP Response and theErrorResponseProcessorAPI.A generic hook for handling exceptions that occurs during the execution of an HTTP request.Exceptions related to the HTTP server.Handles exception of typeHttpStatusException.Thrown for an unrecoverable server exceptions.Default exception handler for jackson processing errors.Default exception handler for JSON processing errors.Exception thrown when none of the produceable content types matches any of the accepted types.Exception thrown when the request HTTP Method is not allowed.Handles exception of typeNotAllowedExceptionand returns an HTTP 405 (Method Not Allowed) response with the "Allow" HTTP Header populated to the allowed headers.Exception thrown when the request uri is not found.An exception thrown on server startup.Handles exception of typeUnsatisfiedArgumentException.Handles exceptions of typeUnsatisfiedRouteException.Exception thrown when the requested Content-Type is not supported.Handles exception of typeURISyntaxException.