Class ConversionErrorHandler
java.lang.Object
io.micronaut.http.server.exceptions.ErrorExceptionHandler<ConversionErrorException>
io.micronaut.http.server.exceptions.ConversionErrorHandler
- All Implemented Interfaces:
ExceptionHandler<ConversionErrorException,HttpResponse<?>>
@Singleton
@Produces
public class ConversionErrorHandler
extends ErrorExceptionHandler<ConversionErrorException>
Handles exception of type
ConversionErrorException.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Field Summary
Fields inherited from class io.micronaut.http.server.exceptions.ErrorExceptionHandler
responseProcessor -
Constructor Summary
ConstructorsConstructorDescriptionConversionErrorHandler(ErrorResponseProcessor<?> responseProcessor) Constructor. -
Method Summary
Methods inherited from class io.micronaut.http.server.exceptions.ErrorExceptionHandler
handle
-
Constructor Details
-
ConversionErrorHandler
Constructor.- Parameters:
responseProcessor- Error Response Processor
-
-
Method Details
-
error
- Specified by:
errorin classErrorExceptionHandler<ConversionErrorException>
-