Wyjątek HarnessRuntime

public class HarnessRuntimeException
extends Object implements IHarnessException

Obiekt Java.lang.Object
com.android.tradefed.error.HarnessRuntimeException


Streszczenie

Konstruktorzy publiczni

HarnessRuntimeException (String message, ErrorIdentifier errorId)

Konstruktor wyjątku.

HarnessRuntimeException (String message, IHarnessException cause)

Konstruktor wyjątku.

HarnessRuntimeException (String message, Throwable cause, ErrorIdentifier errorId)

Konstruktor wyjątku.

Metody publiczne

ErrorIdentifier getErrorId ()

Zwraca ErrorIdentifier powiązany z wyjątkiem.

String getOrigin ()

Zwraca źródło wyjątku.

String toString ()

Metody chronione

final void setCallerClass (Class<?> clazz)

Konstruktorzy publiczni

Wyjątek HarnessRuntime

public HarnessRuntimeException (String message, 
                ErrorIdentifier errorId)

Konstruktor wyjątku.

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

errorId ErrorIdentifier : ErrorIdentifier kategoryzujący wyjątek.

Wyjątek HarnessRuntime

public HarnessRuntimeException (String message, 
                IHarnessException cause)

Konstruktor wyjątku.

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

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

Wyjątek HarnessRuntime

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

Konstruktor 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 powiązany z wyjątkiem. Może mieć wartość zerową.

Zwroty
ErrorIdentifier

pobierzOrigin

public String getOrigin ()

Zwraca źródło wyjątku.

Zwroty
String

doString

public String toString ()

Zwroty
String

Metody chronione

ustaw klasę dzwoniącego

protected final void setCallerClass (Class<?> clazz)

Parametry
clazz Class