@Override
    public void registerException(final Class<? extends Throwable> throwable) {
        registeredExceptions.add(throwable);
    }
This is {@link DefaultCasWebflowExceptionCatalog}.

@author Misagh Moayyed
@since 6.5.0
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/authentication/DefaultCasWebflowExceptionCatalog.java