Skip to content

3.6.2

Compare
Choose a tag to compare
@wimdeblauwe wimdeblauwe released this 28 Nov 19:23
· 18 commits to main since this release

This release adds support for annotations on exception handlers. It allows to do something like this:

@ExceptionHandler(Exception.class)
@HxReswap(HxSwapType.NONE)
public String handleException(Exception ex) {
  return "error";
}

If there are annotations on the controller methods as well, then annotations on the exception handler take precedence if there is an exception.

Full Changelog: 3.6.1...3.6.2