HarnessRuntimeException

public class HarnessRuntimeException
extends Object implements IHarnessException

java.lang.Object
com.android.tradefed.error.HarnessRuntimeException


요약

공개 생성자

HarnessRuntimeException (String message, ErrorIdentifier errorId)

예외의 생성자입니다.

HarnessRuntimeException (String message, IHarnessException cause)

예외의 생성자입니다.

HarnessRuntimeException (String message, Throwable cause, ErrorIdentifier errorId)

예외의 생성자입니다.

공개 메소드

ErrorIdentifier getErrorId ()

예외와 관련된 ErrorIdentifier 반환합니다.

String getOrigin ()

예외의 원인을 반환합니다.

String toString ()

보호된 방법

final void setCallerClass (Class<?> clazz)

공개 생성자

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                ErrorIdentifier errorId)

예외의 생성자입니다.

매개변수
message String : 예외와 관련된 메시지

errorId ErrorIdentifier : 예외를 분류하는 ErrorIdentifier 입니다.

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                IHarnessException cause)

예외의 생성자입니다.

매개변수
message String : 예외와 관련된 메시지

cause IHarnessException : 예외를 발생시킨 IHarnessException .

HarnessRuntimeException

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

예외의 생성자입니다.

매개변수
message String : 예외와 관련된 메시지

cause Throwable : 예외의 원인

errorId ErrorIdentifier : 예외를 분류하는 ErrorIdentifier 입니다.

공개 메소드

getErrorId

public ErrorIdentifier getErrorId ()

예외와 관련된 ErrorIdentifier 반환합니다. null일 수 있습니다.

보고
ErrorIdentifier

getOrigin

public String getOrigin ()

예외의 원인을 반환합니다.

보고
String

toString

public String toString ()

보고
String

보호된 방법

setCallerClass

protected final void setCallerClass (Class<?> clazz)

매개변수
clazz Class