WICKET-5628 Introduce a marker interface for exception which are recommended to be handler by the framework

(cherry picked from commit baaab3c9b274245f4cb1608ea2904b986e5f975e)