@Override
    public Event handle(final WeakPasswordException exception, final RequestContext requestContext) {
        return new Event(this, exception.getClass().getSimpleName(), new LocalAttributeMap<>("exception", exception));
    }
This is {@link WeakPasswordWebflowExceptionHandler}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-pm-webflow/src/main/java/org/apereo/cas/pm/web/flow/WeakPasswordWebflowExceptionHandler.java