Package kos.core.validation
Class ValidationExceptionHandler
java.lang.Object
kos.core.validation.ValidationExceptionHandler
- All Implemented Interfaces:
ExceptionHandler
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ValidationExceptionHandler
public ValidationExceptionHandler()
-
-
Method Details
-
handle
Description copied from interface:ExceptionHandlerHandles exceptions by returning aResponseobject that will be send as http response to the client.- Specified by:
handlein interfaceExceptionHandler- Parameters:
request- current request contextcause- error cause- Returns:
- object that will be send as http response to the client
-