Koşum İstisnası

public class HarnessException
extends Object implements IHarnessException

java.lang.Object
com.android.tradefed.error.HarnessException


Kablo demeti içinde oluşturulan istisna için temel istisna sınıfı. Bu sınıf, hata ayrıntılarını bildirmek için ErrorIdentifier taşınmasına yardımcı olur.

Özet

Kamu inşaatçıları

HarnessException ( ErrorIdentifier errorId)
HarnessException (String message, ErrorIdentifier errorId)
HarnessException (Throwable cause, ErrorIdentifier errorId)
HarnessException (String message, Throwable cause, ErrorIdentifier errorId)

Genel yöntemler

ErrorIdentifier getErrorId ()

Özel durumla ilişkili ErrorIdentifier döndürür.

String getOrigin ()

İstisnanın kaynağını döndürür.

String toString ()

Korumalı yöntemler

final void setCallerClass (Class<?> clazz)
final void setCallerClass (String clazz)

Kamu inşaatçıları

Koşum İstisnası

public HarnessException (ErrorIdentifier errorId)

Parametreler
errorId ErrorIdentifier

Koşum İstisnası

public HarnessException (String message, 
                ErrorIdentifier errorId)

Parametreler
message String

errorId ErrorIdentifier

Koşum İstisnası

public HarnessException (Throwable cause, 
                ErrorIdentifier errorId)

Parametreler
cause Throwable

errorId ErrorIdentifier

Koşum İstisnası

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

Parametreler
message String

cause Throwable

errorId ErrorIdentifier

Genel yöntemler

getErrorId

public ErrorIdentifier getErrorId ()

Özel durumla ilişkili ErrorIdentifier döndürür. Boş olabilir.

İadeler
ErrorIdentifier

getOrigin

public String getOrigin ()

İstisnanın kaynağını döndürür.

İadeler
String

toString

public String toString ()

İadeler
String

Korumalı yöntemler

setCallerClass

protected final void setCallerClass (Class<?> clazz)

Parametreler
clazz Class

setCallerClass

protected final void setCallerClass (String clazz)

Parametreler
clazz String