Package io.micronaut.http.server.exceptions
package io.micronaut.http.server.exceptions
HTTP server exceptions.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
ClassDescriptionDefault handler for
BufferLengthExceededException
errors.Default handler forContentLengthExceededException
errors.Handles exception of typeConversionErrorException
.Handles exceptions of typeDuplicateRouteException
.ErrorExceptionHandler<T extends Throwable>An abstract class to handle exceptions with anError
and responding a Bad Request HTTP Response via theErrorResponseProcessor
API.ErrorResponseProcessorExceptionHandler<T extends Throwable>An abstract class to handle exceptions via an HTTP Response and theErrorResponseProcessor
API.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 typeNotAllowedException
and 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
.