@Singleton @Primary @Produces public class ConversionErrorHandler extends java.lang.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)
ExceptionHandler
handle
in interface ExceptionHandler<ConversionErrorException,HttpResponse>
request
- The requestexception
- The exception type