org.glassfish.jersey.examples.monitoring
Class MyExceptionMapper
java.lang.Object
org.glassfish.jersey.examples.monitoring.MyExceptionMapper
- All Implemented Interfaces:
- javax.ws.rs.ext.ExceptionMapper<MyException>
public class MyExceptionMapper
- extends Object
- implements javax.ws.rs.ext.ExceptionMapper<MyException>
- Author:
- Miroslav Fuksa (miroslav.fuksa at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyExceptionMapper
public MyExceptionMapper()
toResponse
public javax.ws.rs.core.Response toResponse(MyException exception)
- Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<MyException>
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.