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

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

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


Constructor Summary
AuthInvalidApiKeyExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(AuthInvalidApiKeyException 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

AuthInvalidApiKeyExceptionMapper

public AuthInvalidApiKeyExceptionMapper()
Method Detail

toResponse

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


Copyright © 2013. All Rights Reserved.