new api exception and better support for message in http exceptions