In my Symfony project I have performed simple password validation check.
What I am trying to do is to catch the Exception based on the message that is echoed in that