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

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

@Provider
public class RuntimeExceptionMapper
extends BaseExceptionMapper
implements javax.ws.rs.ext.ExceptionMapper<RuntimeException>


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

RuntimeExceptionMapper

public RuntimeExceptionMapper()
Method Detail

toResponse

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


Copyright © 2013. All Rights Reserved.