HarnessRuntimeException
public
class
HarnessRuntimeException
extends Object
implements
IHarnessException
| java.lang.Object | |
| ↳ | com.android.tradefed.error.HarnessRuntimeException |
Podsumowanie
Konstruktory publiczne | |
|---|---|
HarnessRuntimeException(String message, IHarnessException cause)
Konstruktor wyjątku. |
|
HarnessRuntimeException(String message, ErrorIdentifier errorId)
Konstruktor wyjątku. |
|
HarnessRuntimeException(String message, ErrorIdentifier defaultError, IHarnessException cause)
Konstruktor wyjątku. |
|
HarnessRuntimeException(String message, Throwable cause, ErrorIdentifier errorId)
Konstruktor wyjątku. |
|
Metody publiczne | |
|---|---|
ErrorIdentifier
|
getErrorId()
Zwraca |
String
|
getOrigin()
Zwraca pochodzenie wyjątku. |
String
|
toString()
|
Chronione metody | |
|---|---|
final
void
|
setCallerClass(Class<?> clazz)
|
Konstruktory publiczne
HarnessRuntimeException
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. |
HarnessRuntimeException
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. |
HarnessRuntimeException
public HarnessRuntimeException (String message,
ErrorIdentifier defaultError,
IHarnessException cause)Konstruktor wyjątku.
| Parametry | |
|---|---|
message |
String: komunikat powiązany z wyjątkiem. |
defaultError |
ErrorIdentifier: ErrorIdentifier, które mają być stosowane, jeśli nie zostały określone w wyjątkach. |
cause |
IHarnessException: IHarnessException, który spowodował wyjątek. |
HarnessRuntimeException
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 być puste.
| Zwroty | |
|---|---|
ErrorIdentifier |
|
getOrigin
public String getOrigin ()
Zwraca pochodzenie wyjątku.
| Zwroty | |
|---|---|
String |
|
toString
public String toString ()
| Zwroty | |
|---|---|
String |
|
Chronione metody
setCallerClass
protected final void setCallerClass (Class<?> clazz)
| Parametry | |
|---|---|
clazz |
Class |