com.thoughtworks.inproctester.jerseytester.testapp
Class RuntimeExceptionMapper
java.lang.Object
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>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuntimeExceptionMapper
public RuntimeExceptionMapper()
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.