public class DefaultExceptionMapper extends java.lang.Object implements ExceptionMapper
ExceptionMapper.
 This class is a part of Exception Handling Feature.
ExceptionRecorder, 
ExceptionRecorderParameter, 
ExceptionMapper, 
ExceptionHandlerInterceptor| Constructor and Description | 
|---|
DefaultExceptionMapper(Proxifier proxifier)  | 
| Modifier and Type | Method and Description | 
|---|---|
ExceptionRecorder<Result> | 
findByException(java.lang.Exception e)
Finds an  
ExceptionRecorder by an Exception. | 
Result | 
record(java.lang.Class<? extends java.lang.Exception> exception)
Store the exception and return a proxy with  
Result state. | 
public DefaultExceptionMapper(Proxifier proxifier)
public Result record(java.lang.Class<? extends java.lang.Exception> exception)
ExceptionMapperResult state.record in interface ExceptionMapperexception - The exception to store.public ExceptionRecorder<Result> findByException(java.lang.Exception e)
ExceptionMapperfindByException in interface ExceptionMappere - The exception to find.Copyright © 2013 Caelum. All Rights Reserved.