com.sun.jersey.server.impl.application
Class ExceptionMapperFactory
java.lang.Object
com.sun.jersey.server.impl.application.ExceptionMapperFactory
- All Implemented Interfaces:
- ExceptionMapperContext
public class ExceptionMapperFactory
- extends Object
- implements ExceptionMapperContext
- Author:
- Paul.Sandoz@Sun.Com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionMapperFactory
public ExceptionMapperFactory()
init
public void init(ProviderServices providerServices)
find
public ExceptionMapper find(Class<? extends Throwable> c)
- Description copied from interface:
ExceptionMapperContext
- Find an exception mapper for a class of throwable that is capable
of converting a throwable to a response.
- Specified by:
find
in interface ExceptionMapperContext
- Parameters:
c
- the throwable class.
- Returns:
- the exception mapper, otherwise null.
Copyright © 2013 Oracle Corporation. All Rights Reserved.