HarnessRuntimeException

public class HarnessRuntimeException
extends Object implements IHarnessException

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


Streszczenie

Konstruktory publiczne

HarnessRuntimeException (String message, ErrorIdentifier errorId)

Konstruktor dla wyjątku.

HarnessRuntimeException (String message, IHarnessException cause)

Konstruktor dla wyjątku.

HarnessRuntimeException (String message, Throwable cause, ErrorIdentifier errorId)

Konstruktor dla wyjątku.

Metody publiczne

ErrorIdentifier getErrorId ()

Zwraca ErrorIdentifier skojarzony z wyjątkiem.

String getOrigin ()

Zwraca źródło wyjątku.

String toString ()

Metody chronione

final void setCallerClass (Class<?> clazz)

Konstruktory publiczne

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                ErrorIdentifier errorId)

Konstruktor dla wyjątku.

Parametry
message String : komunikat powiązany z wyjątkiem

errorId ErrorIdentifier : ErrorIdentifier kategoryzujący wyjątek.

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                IHarnessException cause)

Konstruktor dla wyjątku.

Parametry
message String : komunikat powiązany z wyjątkiem

cause IHarnessException : IHarnessException , który spowodował wyjątek.

HarnessRuntimeException

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

Konstruktor dla wyjątku.

Parametry
message String : komunikat powiązany z wyjątkiem

cause Throwable : Przyczyna wyjątku

errorId ErrorIdentifier : ErrorIdentifier kategoryzujący wyjątek.

Metody publiczne

getErrorId

public ErrorIdentifier getErrorId ()

Zwraca ErrorIdentifier skojarzony z wyjątkiem. Może być zerowy.

Zwroty
ErrorIdentifier

getOrigin

public String getOrigin ()

Zwraca źródło wyjątku.

Zwroty
String

do Ciągu

public String toString ()

Zwroty
String

Metody chronione

ustaw klasę rozmówcy

protected final void setCallerClass (Class<?> clazz)

Parametry
clazz Class