org.glassfish.jersey.process.internal
Interface ExceptionMapper<E extends java.lang.Throwable>
- Type Parameters:
E - supported exception type.
- All Superinterfaces:
- com.google.common.base.Function<E,Response>
public interface ExceptionMapper<E extends java.lang.Throwable>
- extends com.google.common.base.Function<E,Response>
Transformation function transforming exception to a result.
- Author:
- Marek Potociar (marek.potociar at oracle.com)
|
Method Summary |
Response |
apply(E exception)
Transform a supported exception type into a result. |
| Methods inherited from interface com.google.common.base.Function |
equals |
apply
Response apply(E exception)
- Transform a supported
exception type into a result.
- Specified by:
apply in interface com.google.common.base.Function<E extends java.lang.Throwable,Response>
- Parameters:
exception - to be transformed.
- Returns:
- result of the exception transformation.
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.