HarnessIOException

public class HarnessIOException
extends Object implements IHarnessException

java.lang.Object
   ↳ com.android.tradefed.error.HarnessIOException


Harness exception that helps carrying file issues.

Summary

Public constructors

HarnessIOException(Throwable cause, ErrorIdentifier errorId)

Public methods

ErrorIdentifier getErrorId()

Returns the ErrorIdentifier associated with the exception.

String getOrigin()

Returns the origin of the exception.

Public constructors

HarnessIOException

public HarnessIOException (Throwable cause, 
                ErrorIdentifier errorId)

Parameters
cause Throwable

errorId ErrorIdentifier

Public methods

getErrorId

public ErrorIdentifier getErrorId ()

Returns the ErrorIdentifier associated with the exception. Can be null.

Returns
ErrorIdentifier

getOrigin

public String getOrigin ()

Returns the origin of the exception.

Returns
String