org.glassfish.jersey.examples.monitoring
Class MyExceptionMapper

java.lang.Object
  extended by 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)

Constructor Summary
MyExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(MyException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyExceptionMapper

public MyExceptionMapper()
Method Detail

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.