check Exception class at method _handleException

check 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.