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