RESTError exception class added; simplier error handler;