Lines Matching refs:ex
229 except AdbError as ex:
230 return self.__internal_error(str(ex))
231 except BadRequest as ex:
232 return self.__bad_request(str(ex))
233 except Exception as ex:
234 return self.__internal_error(repr(ex))
243 except OSError as ex:
244 log.debug('Error executing adb command: {}\n{}'.format(' '.join(command), repr(ex)))
245 raise AdbError('Error executing adb command: {}\n{}'.format(' '.join(command), repr(ex)))
246 except subprocess.CalledProcessError as ex:
247 …log.debug('Error executing adb command: {}\n{}'.format(' '.join(command), ex.output.decode("utf-8"…
248 …raise AdbError('Error executing adb command: adb {}\n{}'.format(params, ex.output.decode("utf-8")))
262 except OSError as ex:
263 log.debug('Error executing adb command: adb {}\n{}'.format(params, repr(ex)))
264 raise AdbError('Error executing adb command: adb {}\n{}'.format(params, repr(ex)))
343 except OSError as ex:
344 raise AdbError('Error executing adb command: adb shell\n{}'.format(repr(ex)))