added Throws exception if unknown error occurs
added isSuccessful method
added getResponseObject method
updated examples