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