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