private static boolean isSupportedException(final Throwable exception) {
        return exception != null && SUPPORTED_EXCEPTIONS.stream().anyMatch(type -> type.isAssignableFrom(exception.getClass()));
    }
This is {@link WebflowExceptionTranslator}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/resolver/impl/WebflowExceptionTranslator.java