DeviceRuntimeException
public class DeviceRuntimeException
extends HarnessRuntimeException
java.lang.객체 | ||
↳ | com.android.tradefed.error.HarnessRuntimeException | |
↳ | com.android.tradefed.device.DeviceRuntimeException |
장치 작업이 예상한 결과를 가져오지 않을 때 발생합니다.
예를 들어 'pm list users'는 사용자 목록을 반환할 것으로 예상되며, 그렇게 하지 않으면 무언가 매우 잘못되었으므로 DeviceRuntimeException으로 발생해야 합니다.
요약
공개 생성자 | |
---|---|
DeviceRuntimeException (String msg, ErrorIdentifier errorId) | |
DeviceRuntimeException (String msg, Throwable t, ErrorIdentifier errorId) |
공개 생성자
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 입니다. |