Added a new method for operation failed exceptions.
Improved error handling in getAddress.