com.thoughtworks.inproctester.jerseytester.testapp
Class RuntimeExceptionMapper

java.lang.Object
  extended by com.thoughtworks.inproctester.jerseytester.testapp.RuntimeExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<Throwable>

@Provider
public class RuntimeExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<Throwable>


Constructor Summary
RuntimeExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(Throwable exception)
           
 
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(Throwable exception)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<Throwable>


Copyright © 2012. All Rights Reserved.