JavaTM Platform
Standard Ed. 6

javax.management
클래스 RuntimeErrorException

java.lang.Object 
  상위를 확장 java.lang.Throwable 
      상위를 확장 java.lang.Exception 
          상위를 확장 java.lang.RuntimeException 
              상위를 확장 javax.management.JMRuntimeException 
                  상위를 확장 javax.management.RuntimeErrorException
모든 구현된 인터페이스:
Serializable


public class RuntimeErrorException
extends JMRuntimeException

에이전트내에서 java.lang.Error 가 발생했을 경우, 캐치 해,RuntimeErrorException 으로서 재throw 할 필요가 있습니다.

도입된 버젼:
1.5
관련 항목:
직렬화 된 형식

생성자 의 개요
RuntimeErrorException (Error  e)
          디폴트의 생성자 입니다.
RuntimeErrorException (Error  e, String  message)
          특정의 에러 메세지의 지정을 허가하는 생성자 입니다.
 
메소드의 개요
 Throwable getCause ()
          실제로 throw 되는 Error 를 돌려줍니다.
 Error getTargetError ()
          실제로 throw 되는 Error 를 돌려줍니다.
 
클래스 java.lang. Throwable 로부터 상속된 메소드
fillInStackTrace , getLocalizedMessage , getMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

생성자 의 상세

RuntimeErrorException

public RuntimeErrorException(Error  e)
디폴트의 생성자 입니다.

파라미터:
e - 랩 된 에러

RuntimeErrorException

public RuntimeErrorException(Error  e,
                             String  message)
특정의 에러 메세지의 지정을 허가하는 생성자 입니다.

파라미터:
e - 랩 된 에러
message - 상세 메세지
메소드의 상세

getTargetError

public Error  getTargetError()
실제로 throw 되는 Error 를 돌려줍니다.

반환값:
랩 된 Error

getCause

public Throwable  getCause()
실제로 throw 되는 Error 를 돌려줍니다.

오버라이드(override):
클래스 Throwable 내의 getCause
반환값:
랩 된 Error

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.