Error handling 

I add error handling to SimpleRemoteObject.