protected static void throwException(final Throwable exception) {
        throwException(exception, null, null);
    }
This is {@link AbstractSecurityFilter}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/filters/AbstractSecurityFilter.java