DeviceRuntimeException

public class DeviceRuntimeException
extends HarnessRuntimeException

java.lang.Object
   ↳ com.android.tradefed.error.HarnessRuntimeException
     ↳ com.android.tradefed.device.DeviceRuntimeException


기기 작업으로 인해 예상한 결과가 나오지 않을 때 발생합니다.

예를 들어 'pm list users'는 사용자 목록을 반환할 것으로 예상됩니다. 그러지 못하면 심각한 문제가 발생했으므로 DeviceRuntimeException으로 발생해야 합니다.

요약

공개 생성자

DeviceRuntimeException(String msg, ErrorIdentifier errorId)

DeviceRuntimeException를 만듭니다.

DeviceRuntimeException(String msg, Throwable t, ErrorIdentifier errorId)

DeviceRuntimeException를 만듭니다.

공개 생성자

DeviceRuntimeException

public DeviceRuntimeException (String msg, 
                ErrorIdentifier errorId)

DeviceRuntimeException를 만듭니다.

매개변수
msg String: 오류에 관한 설명 오류 메시지입니다.

errorId ErrorIdentifier: 예외를 분류하는 ErrorIdentifier입니다.

DeviceRuntimeException

public DeviceRuntimeException (String msg, 
                Throwable t, 
                ErrorIdentifier errorId)

DeviceRuntimeException를 만듭니다.

매개변수
msg String: 오류에 관한 설명 오류 메시지

t Throwable: DeviceRuntimeException로 래핑해야 하는 Throwable입니다.

errorId ErrorIdentifier: 예외를 분류하는 ErrorIdentifier입니다.