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)

พยายามดึงข้อมูลข้อยกเว้นที่เหมาะสมจาก stderr หากไม่ได้ใช้ RuntimeException

ช่อง

EVENT_THREAD_JOIN

public static final String EVENT_THREAD_JOIN

ตัวสร้างแบบสาธารณะ

SubprocessExceptionParser

public SubprocessExceptionParser ()

เมธอดสาธารณะ

getPathFromStderr

public static String getPathFromStderr (String stderr)

ดึงข้อมูลเส้นทางไฟล์ของข้อยกเว้นที่แปลงเป็นอนุกรม

พารามิเตอร์
stderr String

คิกรีเทิร์น
String

handleStderrException

public static void handleStderrException (CommandResult result)

พยายามดึงข้อมูลข้อยกเว้นที่เหมาะสมจาก stderr หากไม่ได้ใช้ RuntimeException

พารามิเตอร์
result CommandResult

การโยน
DeviceNotAvailableException