Koleksiyonlar ile düzeninizi koruyun İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.

HarnessRuntimeException

public class HarnessRuntimeException
extends Object implements IHarnessException

java.lang.Nesne
com.android.tradefed.error.HarnessRuntimeException


Özet

Kamu inşaatçıları

HarnessRuntimeException (String message, ErrorIdentifier errorId)

İstisna için yapıcı.

HarnessRuntimeException (String message, IHarnessException cause)

İstisna için yapıcı.

HarnessRuntimeException (String message, Throwable cause, ErrorIdentifier errorId)

İstisna için yapıcı.

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)

Kamu inşaatçıları

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                ErrorIdentifier errorId)

İstisna için yapıcı.

parametreler
message String : İstisna ile ilişkili mesaj

errorId ErrorIdentifier : Özel durumu kategorize eden ErrorIdentifier .

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                IHarnessException cause)

İstisna için yapıcı.

parametreler
message String : İstisna ile ilişkili mesaj

cause IHarnessException : Özel duruma neden olan IHarnessException .

HarnessRuntimeException

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

İstisna için yapıcı.

parametreler
message String : İstisna ile ilişkili mesaj

cause Throwable : Özel durumun nedeni

errorId ErrorIdentifier : Özel durumu kategorize eden 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