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