Added support for web exceptions