this is a better fit because the error is a logic exception instead of a runtime exception
This is the first step to make each Symfony Component and Bridge self-contained.