Package kos.api
Interface ExceptionHandler
- All Known Implementing Classes:
PredicateExceptionHandler,ValidationExceptionHandler
public interface ExceptionHandler
Versatile exception handler abstraction.
-
Method Summary
-
Method Details
-
handle
Handles exceptions by returning aResponseobject that will be send as http response to the client.- Parameters:
request- current request contextcause- error cause- Returns:
- object that will be send as http response to the client
-