public class ExceptionMapperFactory extends java.lang.Object implements ExceptionMapperContext
| Constructor and Description |
|---|
ExceptionMapperFactory() |
| Modifier and Type | Method and Description |
|---|---|
ExceptionMapper |
find(java.lang.Class<? extends java.lang.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 ExceptionMapper find(java.lang.Class<? extends java.lang.Throwable> c)
ExceptionMapperContextfind in interface ExceptionMapperContextc - the throwable class.Copyright © 2015 Oracle Corporation. All Rights Reserved.