Search in sources :

Example 1 with NativeBridgeException

use of com.testsigma.agent.exception.NativeBridgeException in project testsigma by testsigmahq.

the class AndroidDeviceListener method initializeNativeBridge.

public void initializeNativeBridge() throws NativeBridgeException {
    try {
        this.adBridge = adbBridge.getADBInstance();
        if (!adBridge.hasInitialDeviceList()) {
            waitForAdbInitialization();
        }
        bridgeInitialized = true;
    } catch (Exception e) {
        log.error(e.getMessage(), e);
        throw new NativeBridgeException(e.getMessage(), e);
    }
}
Also used : NativeBridgeException(com.testsigma.agent.exception.NativeBridgeException) NativeBridgeException(com.testsigma.agent.exception.NativeBridgeException) TestsigmaException(com.testsigma.agent.exception.TestsigmaException) AdbCommandExecutionException(com.testsigma.agent.exception.AdbCommandExecutionException)

Aggregations

AdbCommandExecutionException (com.testsigma.agent.exception.AdbCommandExecutionException)1 NativeBridgeException (com.testsigma.agent.exception.NativeBridgeException)1 TestsigmaException (com.testsigma.agent.exception.TestsigmaException)1