HarnessRuntimeException

public class HarnessRuntimeException
extends RuntimeException implements IHarnessException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
    java.lang.RuntimeException
      com.android.tradefed.error.HarnessRuntimeException


요약

공개 생성자

HarnessRuntimeException(String message, IHarnessException cause)

예외 생성자입니다.

HarnessRuntimeException(String message, ErrorIdentifier errorId)

예외 생성자입니다.

HarnessRuntimeException(String message, ErrorIdentifier defaultError, 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, 
                IHarnessException cause)

예외 생성자입니다.

매개변수
message String: 예외와 연결된 메시지입니다.

cause IHarnessException: 예외를 유발한 IHarnessException입니다.

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                ErrorIdentifier errorId)

예외 생성자입니다.

매개변수
message String: 예외와 연결된 메시지입니다.

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

HarnessRuntimeException

public HarnessRuntimeException (String message, 
                ErrorIdentifier defaultError, 
                IHarnessException cause)

예외 생성자입니다.

매개변수
message String: 예외와 연결된 메시지입니다.

defaultError ErrorIdentifier: 예외에 설정되지 않은 경우 적용할 ErrorIdentifier입니다.

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