net.stepniak.api.response.exception.internal
Class ThrowableExceptionMapper

java.lang.Object
  extended by net.stepniak.api.response.exception.BaseExceptionMapper
      extended by net.stepniak.api.response.exception.internal.ThrowableExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<Throwable>

@Provider
public class ThrowableExceptionMapper
extends BaseExceptionMapper
implements javax.ws.rs.ext.ExceptionMapper<Throwable>


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

ThrowableExceptionMapper

public ThrowableExceptionMapper()
Method Detail

toResponse

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


Copyright © 2013. All Rights Reserved.