JavaTM Platform
Standard Ed. 6

javax.xml.crypto
클래스 MarshalException

java.lang.Object 
  상위를 확장 java.lang.Throwable 
      상위를 확장 java.lang.Exception 
          상위를 확장 javax.xml.crypto.MarshalException
모든 구현된 인터페이스:
Serializable


public class MarshalException
extends Exception

XML 정렬화 또는 비정렬화의 처리중에 발생한 예외 조건을 나타냅니다.  

MarshalException 는 「원인」 (이 MarshalException 의 throw를 일으킨 다른 throw 가능 객체)을 포함할 수가 있습니다.

도입된 버젼:
1.6
관련 항목:
XMLSignature.sign(XMLSignContext) , XMLSignatureFactory.unmarshalXMLSignature(XMLValidateContext) , 직렬화 된 형식

생성자 의 개요
MarshalException ()
          상세 메세지로서 새로운 null 를 지정해 MarshalException 를 구축합니다.
MarshalException (String  message)
          지정된 상세 메세지를 가지는 새로운 MarshalException 를 구축합니다.
MarshalException (String  message, Throwable  cause)
          지정된 상세 메세지 및 원인을 사용해 MarshalException 를 새롭게 구축합니다.
MarshalException (Throwable  cause)
          (cause==null ? null :cause.toString()) 의 상세 메세지를 사용해 새로운 MarshalException 를 작성합니다 (일반적으로의 경우,cause 의 클래스와 상세 메세지가 포함된다).
 
메소드의 개요
 Throwable getCause ()
          이 MarshalException 의 원인을 돌려줍니다.
 void printStackTrace ()
          MarshalException, 그 백 트레이스 및 원인의 가방과 레이스를 표준 에러 스트림에 출력합니다.
 void printStackTrace (PrintStream  s)
          MarshalException, 그 백 트레이스 및 원인의 가방과 레이스를 지정한 출력 스트림에 출력합니다.
 void printStackTrace (PrintWriter  s)
          MarshalException, 그 백 트레이스 및 원인의 가방과 레이스를 지정한 프린트 라이터에 출력합니다.
 
클래스 java.lang. Throwable 로부터 상속된 메소드
fillInStackTrace , getLocalizedMessage , getMessage , getStackTrace , initCause , setStackTrace , toString
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

생성자 의 상세

MarshalException

public MarshalException()
상세 메세지로서 새로운 null 를 지정해 MarshalException 을 구축합니다.


MarshalException

public MarshalException(String  message)
지정된 상세 메세지를 가지는 새로운 MarshalException 를 구축합니다.

파라미터:
message - 상세 메세지

MarshalException

public MarshalException(String  message,
                        Throwable  cause)
지정된 상세 메세지 및 원인을 사용해 MarshalException 를 새롭게 구축합니다.  

cause 와 관련지을 수 있었던 상세 메세지가, 이 예외의 상세 메세지에 자동적으로 통합될 것은 없습니다.

파라미터:
message - 상세 메세지
cause - 원인 (null 치는 허가되고 있어 원인이 존재하지 않는, 또는 불명한 일을 나타낸다. )

MarshalException

public MarshalException(Throwable  cause)
(cause==null ? null :cause.toString()) 의 상세 메세지를 사용해 새로운 MarshalException 를 작성합니다 (일반적으로의 경우,cause 의 클래스와 상세 메세지가 포함된다).

파라미터:
cause - 원인 (null 치는 허가되고 있어 원인이 존재하지 않는, 또는 불명한 일을 나타낸다. )
메소드의 상세

getCause

public Throwable  getCause()
MarshalException 의 원인을 돌려줍니다. 원인이 존재하지 않는가 불명의 경우는 null 를 돌려줍니다. 원인은 이 MarshalException 를 throw 시킨 Throwable 입니다.

오버라이드(override):
클래스 Throwable 내의 getCause
반환값:
MarshalException 의 원인 또는 원인이 존재하지 않는 경우나 불명한 경우는,null.

printStackTrace

public void printStackTrace()
MarshalException, 그 백 트레이스 및 원인의 가방과 레이스를 표준 에러 스트림에 출력합니다.

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

printStackTrace

public void printStackTrace(PrintStream  s)
MarshalException, 그 백 트레이스 및 원인의 가방과 레이스를 지정한 출력 스트림에 출력합니다.

오버라이드(override):
클래스 Throwable 내의 printStackTrace
파라미터:
s - 출력에 사용하는 PrintStream

printStackTrace

public void printStackTrace(PrintWriter  s)
MarshalException, 그 백 트레이스 및 원인의 가방과 레이스를 지정한 프린트 라이터에 출력합니다.

오버라이드(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 도 참조해 주세요.