SubprocessExceptionParser
public class SubprocessExceptionParser
extends Object
java.lang.Object | |
↳ | com.android.tradefed.util.SubprocessExceptionParser |
표준 Tradefed 명령 실행기의 예외 출력을 처리하는 도우미입니다.
요약
필드 | |
---|---|
public static final String | EVENT_THREAD_JOIN
|
공개 생성자 | |
---|---|
SubprocessExceptionParser () |
공개 메소드 | |
---|---|
static String | getPathFromStderr (String stderr) 직렬화된 예외의 파일 경로를 추출합니다. |
static void | handleStderrException ( CommandResult result) RuntimeException을 고수하지 않는 경우 stderr에서 적절한 예외를 추출해 보십시오. |
필드
EVENT_THREAD_JOIN
public static final String EVENT_THREAD_JOIN
공개 생성자
SubprocessExceptionParser
public SubprocessExceptionParser ()
공개 메소드
getPathFromStderr
public static String getPathFromStderr (String stderr)
직렬화된 예외의 파일 경로를 추출합니다.
매개변수 | |
---|---|
stderr | String |
보고 | |
---|---|
String |
핸들StderrException
public static void handleStderrException (CommandResult result)
RuntimeException을 고수하지 않는 경우 stderr에서 적절한 예외를 추출해 보십시오.
매개변수 | |
---|---|
result | CommandResult |
던지기 | |
---|---|
DeviceNotAvailableException |