org.glassfish.jersey.examples.exception
Class Exceptions.MyExceptionMapper
java.lang.Object
org.glassfish.jersey.examples.exception.Exceptions.MyExceptionMapper
- All Implemented Interfaces:
- ExceptionMapper<Exceptions.MyException>
- Enclosing class:
- Exceptions
@Provider
public static class Exceptions.MyExceptionMapper
- extends Object
- implements ExceptionMapper<Exceptions.MyException>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Exceptions.MyExceptionMapper
public Exceptions.MyExceptionMapper()
toResponse
public Response toResponse(Exceptions.MyException exception)
- Specified by:
toResponse in interface ExceptionMapper<Exceptions.MyException>
Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.