Package org.craftercms.engine.http.impl
Class ConstraintViolationExceptionHandler
java.lang.Object
org.craftercms.engine.http.impl.ConstraintViolationExceptionHandler
- All Implemented Interfaces:
ExceptionHandler
Handler for
ConstraintViolationException
exceptions-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConstraintViolationExceptionHandler
public ConstraintViolationExceptionHandler()
-
-
Method Details
-
handle
public boolean handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Exception ex) throws IOException Description copied from interface:ExceptionHandler
Attempts to handle the exception. If it can be handled, returns true, else false is returned.- Specified by:
handle
in interfaceExceptionHandler
- Throws:
IOException
-