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


यह HarnessException, फ़ाइल से जुड़ी समस्याओं को हल करने में मदद करता है.

खास जानकारी

सार्वजनिक कंस्ट्रक्टर

HarnessIOException(Throwable cause, ErrorIdentifier errorId)

पब्लिक मेथड

ErrorIdentifier getErrorId()

यह अपवाद से जुड़ा ErrorIdentifier दिखाता है.

String getOrigin()

यह अपवाद की वजह दिखाता है.

सार्वजनिक कंस्ट्रक्टर

HarnessIOException

public HarnessIOException (Throwable cause, 
                ErrorIdentifier errorId)

पैरामीटर
cause Throwable

errorId ErrorIdentifier

पब्लिक मेथड

getErrorId

public ErrorIdentifier getErrorId ()

यह अपवाद से जुड़ा ErrorIdentifier दिखाता है. यह null हो सकता है.

रिटर्न
ErrorIdentifier

getOrigin

public String getOrigin ()

यह अपवाद की वजह दिखाता है.

रिटर्न
String