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)
ExceptionMapperContextfind in interface ExceptionMapperContextc - the throwable class.Copyright © 2016 Oracle Corporation. All rights reserved.