[FrameworkBundle] Added a helper method to create AccessDeniedException

Just a small helper method that has been missing, since the addition of createNotFoundException().

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | 
| License       | MIT
| Doc PR        |