Adding AuthenticationException to the AuthenticationFailureEvent

Hello

Is it possible to get the AuthenticationException in the AuthenticationFailureEvent ?
I am using your bundle in a project where the User model implements the AdvanceUserInterface.
I'd like to display a specific message when the user is not confirmed.

Thanks