HarnessRuntimeException
public class HarnessRuntimeException
extends Object
implements IHarnessException
java.lang.Object | |
↳ | com.android.tradefed.error.HarnessRuntimeException |
Résumé
Constructeurs publics | |
---|---|
HarnessRuntimeException (String message, ErrorIdentifier errorId) Constructeur de l'exception. | |
HarnessRuntimeException (String message, IHarnessException cause) Constructeur de l'exception. | |
HarnessRuntimeException (String message, Throwable cause, ErrorIdentifier errorId) Constructeur de l'exception. |
Méthodes publiques | |
---|---|
ErrorIdentifier | getErrorId () Renvoie l' |
String | getOrigin () Renvoie l'origine de l'exception. |
String | toString () |
Méthodes protégées | |
---|---|
final void | setCallerClass (Class<?> clazz) |
Constructeurs publics
HarnessRuntimeException
public HarnessRuntimeException (String message, ErrorIdentifier errorId)
Constructeur de l'exception.
Paramètres | |
---|---|
message | String : Le message associé à l'exception |
errorId | ErrorIdentifier : L' ErrorIdentifier catégorisant l'exception. |
HarnessRuntimeException
public HarnessRuntimeException (String message, IHarnessException cause)
Constructeur de l'exception.
Paramètres | |
---|---|
message | String : Le message associé à l'exception |
cause | IHarnessException : IHarnessException qui a provoqué l'exception. |
HarnessRuntimeException
public HarnessRuntimeException (String message, Throwable cause, ErrorIdentifier errorId)
Constructeur de l'exception.
Paramètres | |
---|---|
message | String : Le message associé à l'exception |
cause | Throwable : La cause de l'exception |
errorId | ErrorIdentifier : L' ErrorIdentifier catégorisant l'exception. |
Méthodes publiques
getErrorId
public ErrorIdentifier getErrorId ()
Renvoie l' ErrorIdentifier
associé à l'exception. Peut être nul.
Retour | |
---|---|
ErrorIdentifier |
obtenirOrigine
public String getOrigin ()
Renvoie l'origine de l'exception.
Retour | |
---|---|
String |
toString
public String toString ()
Retour | |
---|---|
String |
Méthodes protégées
setCallerClass
protected final void setCallerClass (Class<?> clazz)
Paramètres | |
---|---|
clazz | Class |