SubprocessExceptionParser
public
class
SubprocessExceptionParser
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.util.SubprocessExceptionParser
|
Helper to handle the exception output from standard Tradefed command runners.
Summary
Public methods |
static
String
|
getPathFromStderr(String stderr)
Extract the file path of the serialized exception.
|
static
void
|
handleStderrException(CommandResult result)
Attempt to extract a proper exception from stderr, if not stick to RuntimeException.
|
Public constructors
SubprocessExceptionParser
public SubprocessExceptionParser ()
Public methods
getPathFromStderr
public static String getPathFromStderr (String stderr)
Extract the file path of the serialized exception.
handleStderrException
public static void handleStderrException (CommandResult result)
Attempt to extract a proper exception from stderr, if not stick to RuntimeException.
Parameters |
result |
CommandResult |
Throws |
DeviceNotAvailableException |
|