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