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