org.glassfish.jersey.examples.exception
Class Exceptions.WebApplicationExceptionMapper

java.lang.Object
  extended by org.glassfish.jersey.examples.exception.Exceptions.WebApplicationExceptionMapper
All Implemented Interfaces:
ExceptionMapper<WebApplicationException>
Enclosing class:
Exceptions

@Provider
public static class Exceptions.WebApplicationExceptionMapper
extends Object
implements ExceptionMapper<WebApplicationException>


Constructor Summary
Exceptions.WebApplicationExceptionMapper()
           
 
Method Summary
 Response toResponse(WebApplicationException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exceptions.WebApplicationExceptionMapper

public Exceptions.WebApplicationExceptionMapper()
Method Detail

toResponse

public Response toResponse(WebApplicationException exception)
Specified by:
toResponse in interface ExceptionMapper<WebApplicationException>


Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.