Included exception handling with flexibel status codes for all resource methods.

...methods