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