@Singleton @Produces public class UnsatisfiedArgumentHandler extends java.lang.Object implements ExceptionHandler<UnsatisfiedArgumentException,HttpResponse>
UnsatisfiedArgumentException.| Constructor and Description |
|---|
UnsatisfiedArgumentHandler()
Deprecated.
|
UnsatisfiedArgumentHandler(ErrorResponseProcessor<?> responseProcessor) |
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
handle(HttpRequest request,
UnsatisfiedArgumentException exception)
Handles an exception and returns the result.
|
@Deprecated public UnsatisfiedArgumentHandler()
@Inject public UnsatisfiedArgumentHandler(ErrorResponseProcessor<?> responseProcessor)
public HttpResponse handle(HttpRequest request, UnsatisfiedArgumentException exception)
ExceptionHandlerhandle in interface ExceptionHandler<UnsatisfiedArgumentException,HttpResponse>request - The requestexception - The exception type