Interface ExceptionHandler
-
- All Known Implementing Classes:
DefaultExceptionHandler
public interface ExceptionHandlerHandles an exception produced while processing a request.- See Also:
DefaultExceptionHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerFailurecreateServerFailure(java.lang.Throwable throwable)Generates aServerFailurebased on the information contained in the receivedexception.
-
-
-
Method Detail
-
createServerFailure
ServerFailure createServerFailure(java.lang.Throwable throwable)
Generates aServerFailurebased on the information contained in the receivedexception.- Parameters:
throwable- a Throwable instance- Returns:
- a
ServerFailureinstance - See Also:
DefaultExceptionHandler
-
-