HarnessIOException

public class HarnessIOException
extends IOException implements IHarnessException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
    java.io.IOException
      com.android.tradefed.error.HarnessIOException


Pengecualian harness yang membantu menangani masalah file.

Ringkasan

Konstruktor publik

HarnessIOException(Throwable cause, ErrorIdentifier errorId)

Metode publik

ErrorIdentifier getErrorId()

Menampilkan ErrorIdentifier yang terkait dengan pengecualian.

String getOrigin()

Menampilkan asal pengecualian.

Konstruktor publik

HarnessIOException

public HarnessIOException (Throwable cause, 
                ErrorIdentifier errorId)

Parameter
cause Throwable

errorId ErrorIdentifier

Metode publik

getErrorId

public ErrorIdentifier getErrorId ()

Menampilkan ErrorIdentifier yang terkait dengan pengecualian. Dapat ditetapkan ke null.

Hasil
ErrorIdentifier

getOrigin

public String getOrigin ()

Menampilkan asal pengecualian.

Hasil
String