public class ExceptionMapperFactory extends Object implements ExceptionMapperContext
Constructor and Description |
---|
ExceptionMapperFactory() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.ext.ExceptionMapper |
find(Class<? extends Throwable> c)
Find an exception mapper for a class of throwable that is capable
of converting a throwable to a response.
|
void |
init(ProviderServices providerServices) |
public void init(ProviderServices providerServices)
public javax.ws.rs.ext.ExceptionMapper find(Class<? extends Throwable> c)
ExceptionMapperContext
find
in interface ExceptionMapperContext
c
- the throwable class.Copyright © 2013 Oracle Corporation. All rights reserved.