HubSpot / jinjava

Jinja template engine for Java
Apache License 2.0
690 stars 168 forks source link

Intercept out of range ArrayIndexOutOfBoundsException with custom's one #1168

Closed lozenko closed 6 months ago

lozenko commented 6 months ago

The goal is to intercept runtime exception ArrayIndexOutOfBoundsException with jinjava's IndexOutOfRangeException so we can notify user with predicted root cause which would be our custom exception.