HarnessRuntimeException
public class HarnessRuntimeException
extends Object
implements IHarnessException
java.lang.Object | |
↳ | 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 |
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 : İstisnayla ilişkili mesaj |
errorId | ErrorIdentifier : İstisnayı kategorilere ayıran ErrorIdentifier . |
HarnessRuntimeException
public HarnessRuntimeException (String message, IHarnessException cause)
İstisna için yapıcı.
Parametreler | |
---|---|
message | String : İstisnayla ilişkili mesaj |
cause | IHarnessException : İstisnaya neden olan IHarnessException . |
HarnessRuntimeException
public HarnessRuntimeException (String message, Throwable cause, ErrorIdentifier errorId)
İstisna için yapıcı.
Parametreler | |
---|---|
message | String : İstisnayla ilişkili mesaj |
cause | Throwable : İstisnanın nedeni |
errorId | ErrorIdentifier : İstisnayı kategorilere ayıran 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 |