Updated the exceptions to the new planned style
Adding a method to tranlate the error code to a string