net.stepniak.api.response.exception.http
Class BadRequestExceptionMapper

java.lang.Object
  extended by net.stepniak.api.response.exception.BaseExceptionMapper
      extended by net.stepniak.api.response.exception.http.BadRequestExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<net.stepniak.common.error.http.BadRequestException>

@Provider
public class BadRequestExceptionMapper
extends BaseExceptionMapper
implements javax.ws.rs.ext.ExceptionMapper<net.stepniak.common.error.http.BadRequestException>


Constructor Summary
BadRequestExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(net.stepniak.common.error.http.BadRequestException 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

BadRequestExceptionMapper

public BadRequestExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(net.stepniak.common.error.http.BadRequestException exception)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<net.stepniak.common.error.http.BadRequestException>


Copyright © 2013. All Rights Reserved.