DeviceRuntime예외

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 생성합니다.

공개 생성자

DeviceRuntime예외

public DeviceRuntimeException (String msg, 
                ErrorIdentifier errorId)

DeviceRuntimeException 생성합니다.

매개변수
msg String : 오류를 설명하는 오류 메시지입니다.

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

DeviceRuntime예외

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

DeviceRuntimeException 생성합니다.

매개변수
msg String : 오류를 설명하는 오류 메시지

t Throwable : DeviceRuntimeException 에 래핑되어야 하는 Throwable .

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