public interface ExceptionMapper
This class is a part of Exception Handling Feature.
| Modifier and Type | Method and Description | 
|---|---|
ExceptionRecorder<Result> | 
findByException(Exception exception)
Finds an  
ExceptionRecorder by an Exception. | 
Result | 
record(Class<? extends Exception> exception)
Store the exception and return a proxy with  
Result state. | 
Result record(Class<? extends Exception> exception)
Result state.exception - The exception to store.NullPointerException - if the exception is null.ExceptionRecorder<Result> findByException(Exception exception)
exception - The exception to find.Copyright © 2014 Caelum. All rights reserved.