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