DeviceRuntimeException

public class DeviceRuntimeException
extends HarnessRuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ 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입니다.