JavaTM Platform
Standard Ed. 6

javax.xml.xpath
클래스 XPathException

java.lang.Object 
  상위를 확장 java.lang.Throwable 
      상위를 확장 java.lang.Exception 
          상위를 확장 javax.xml.xpath.XPathException
모든 구현된 인터페이스:
Serializable
직계의 기존의 서브 클래스:
XPathExpressionException , XPathFactoryConfigurationException


public class XPathException
extends Exception

XPathException 는 총칭 XPath 예외를 나타냅니다.

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

생성자 의 개요
XPathException (String  message)
          지정된 상세 메세지로 새로운 XPathException 를 구축합니다.
XPathException (Throwable  cause)
          지정된 cause 로 새로운 XPathException 를 구축합니다.
 
메소드의 개요
 Throwable getCause ()
          이 XPathException 의 원인을 가져옵니다.
 void printStackTrace ()
          지정된 System.err 에 스택 트레이스를 출력합니다.
 void printStackTrace (PrintStream  s)
          지정된 PrintStream 에 스택 트레이스를 출력합니다.
 void printStackTrace (PrintWriter  s)
          지정된 PrintWriter 에 스택 트레이스를 출력합니다.
 
클래스 java.lang. Throwable 로부터 상속된 메소드
fillInStackTrace , getLocalizedMessage , getMessage , getStackTrace , initCause , setStackTrace , toString
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

생성자 의 상세

XPathException

public XPathException(String  message)

지정된 상세 메세지로 새로운 XPathException 를 구축합니다.

 

cause 는 초기화되지 않습니다.

 

messagenull 의 경우는,NullPointerException 가 throw 됩니다.

파라미터:
message - 상세 메세지
예외:
NullPointerException - messagenull 의 경우

XPathException

public XPathException(Throwable  cause)

지정된 cause 로 새로운 XPathException 를 구축합니다.

 

causenull 의 경우는,NullPointerException 가 throw 됩니다.

파라미터:
cause - 원인
예외:
NullPointerException - causenull 의 경우
메소드의 상세

getCause

public Throwable  getCause()

이 XPathException 의 원인을 가져옵니다.

오버라이드(override):
클래스 Throwable 내의 getCause
반환값:
이 XPathException 의 원인

printStackTrace

public void printStackTrace(PrintStream  s)

지정된 PrintStream 에 스택 트레이스를 출력합니다.

오버라이드(override):
클래스 Throwable 내의 printStackTrace
파라미터:
s - 이 PrintStream 에 스택 트레이스를 출력한다

printStackTrace

public void printStackTrace()

지정된 System.err 에 스택 트레이스를 출력합니다.

오버라이드(override):
클래스 Throwable 내의 printStackTrace

printStackTrace

public void printStackTrace(PrintWriter  s)

지정된 PrintWriter 에 스택 트레이스를 출력합니다.

오버라이드(override):
클래스 Throwable 내의 printStackTrace
파라미터:
s - 이 PrintWriter 에 스택 트레이스를 출력한다

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 도 참조해 주세요.