HarnessRuntimeException

public class HarnessRuntimeException
extends Object implements IHarnessException

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


ملخّص

وظائف الإنشاء العامة

HarnessRuntimeException(String message, IHarnessException cause)

عنصر الإنشاء للاستثناء.

HarnessRuntimeException(String message, ErrorIdentifier errorId)

مُنشئ الاستثناء.

HarnessRuntimeException(String message, ErrorIdentifier defaultError, IHarnessException cause)

مُنشئ الاستثناء.

HarnessRuntimeException(String message, Throwable cause, ErrorIdentifier errorId)

مُنشئ الاستثناء.

الطرق العامة

ErrorIdentifier getErrorId()

عرض ErrorIdentifier المرتبط بالإستثناء

String getOrigin()

لعرض مصدر الاستثناء.

String toString()

الطرق المحمية

final void setCallerClass(Class<?> clazz)

وظائف الإنشاء العامة

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                IHarnessException cause)

عنصر الإنشاء للاستثناء.

المعلمات
message String: الرسالة المرتبطة بالاستثناء

cause IHarnessException: IHarnessException الذي أدّى إلى ظهور الاستثناء

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                ErrorIdentifier errorId)

عنصر الإنشاء للاستثناء.

المعلمات
message String: الرسالة المرتبطة بالاستثناء

errorId ErrorIdentifier: ErrorIdentifier لتصنيف الاستثناء

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                ErrorIdentifier defaultError, 
                IHarnessException cause)

عنصر الإنشاء للاستثناء.

المعلمات
message String: الرسالة المرتبطة بالاستثناء

defaultError ErrorIdentifier: ErrorIdentifier التي سيتم تطبيقها في حال عدم ضبطها في الاستثناء

cause IHarnessException: IHarnessException الذي أدّى إلى ظهور الاستثناء

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                Throwable cause, 
                ErrorIdentifier errorId)

عنصر الإنشاء للاستثناء.

المعلمات
message String: الرسالة المرتبطة بالاستثناء

cause Throwable: سبب الاستثناء

errorId ErrorIdentifier: ErrorIdentifier لتصنيف الاستثناء

الطرق العامة

getErrorId

public ErrorIdentifier getErrorId ()

عرض ErrorIdentifier المرتبط بالإستثناء يمكن أن تكون فارغة.

المرتجعات
ErrorIdentifier

getOrigin

public String getOrigin ()

لعرض مصدر الاستثناء.

المرتجعات
String

toString

public String toString ()

المرتجعات
String

الطرق المحمية

setCallerClass

protected final void setCallerClass (Class<?> clazz)

المعلمات
clazz Class