UprzążRuntimeException
public class HarnessRuntimeException
extends Object
implements IHarnessException
java.lang.Object | |
com.android.tradefed.error.HarnessRuntimeException |
Streszczenie
Konstruktorzy publiczni | |
---|---|
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 |
String | getOrigin () Zwraca pochodzenie wyjątku. |
String | toString () |
Metody chronione | |
---|---|
final void | setCallerClass (Class<?> clazz) |
Konstruktorzy publiczni
UprzążRuntimeException
public HarnessRuntimeException (String message, ErrorIdentifier errorId)
Konstruktor dla wyjątku.
Parametry | |
---|---|
message | String : Wiadomość powiązana z wyjątkiem |
errorId | ErrorIdentifier : ErrorIdentifier kategoryzujący wyjątek. |
UprzążRuntimeException
public HarnessRuntimeException (String message, IHarnessException cause)
Konstruktor dla wyjątku.
Parametry | |
---|---|
message | String : Wiadomość powiązana z wyjątkiem |
cause | IHarnessException : IHarnessException , który spowodował wyjątek. |
UprzążRuntimeException
public HarnessRuntimeException (String message, Throwable cause, ErrorIdentifier errorId)
Konstruktor dla wyjątku.
Parametry | |
---|---|
message | String : Wiadomość powiązana 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 mieć wartość zerową.
Zwroty | |
---|---|
ErrorIdentifier |
getOrigin
public String getOrigin ()
Zwraca pochodzenie wyjątku.
Zwroty | |
---|---|
String |
toString
public String toString ()
Zwroty | |
---|---|
String |
Metody chronione
setCallerClass
protected final void setCallerClass (Class<?> clazz)
Parametry | |
---|---|
clazz | Class |