check Exception class in method _handleException

Add checking the exception that belongs to ServiceResponseException.
For example, exception is instance of ValidateException,
it has no method "getExceptionCode()".
In this case, "$e->getExceptionCode()" causes PHP Fatal Error.
Merge pull request #4 from risou/features/exception

check Exception class in method _handleException