rewrite of configurable http exceptions