net.stepniak.api.auth.exception.mapper.auth
Class AuthUnauthorizedUserExceptionMapper

java.lang.Object
  extended by net.stepniak.api.response.exception.BaseExceptionMapper
      extended by net.stepniak.api.auth.exception.mapper.auth.AuthUnauthorizedUserExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<AuthUnauthorizedUserException>

@Provider
public class AuthUnauthorizedUserExceptionMapper
extends net.stepniak.api.response.exception.BaseExceptionMapper
implements javax.ws.rs.ext.ExceptionMapper<AuthUnauthorizedUserException>


Constructor Summary
AuthUnauthorizedUserExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(AuthUnauthorizedUserException exception)
           
 
Methods inherited from class net.stepniak.api.response.exception.BaseExceptionMapper
getJsonMapper, getLogMessage, prepareInternalErrorResponse, prepareResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthUnauthorizedUserExceptionMapper

public AuthUnauthorizedUserExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(AuthUnauthorizedUserException exception)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<AuthUnauthorizedUserException>


Copyright © 2013. All Rights Reserved.