Implemented exceptions for the error-codes, mentioned in the API-docs