public class UnmarshalException extends JAXBException
 ValidationEventHandler可能会导致在unmarshal操作期间抛出此异常。 见ValidationEventHandler.handleEvent(ValidationEvent) 。 
JAXBException , Unmarshaller , ValidationEventHandler , Serialized Form 
       | Constructor and Description | 
|---|
| UnmarshalException(String message)
              使用指定的详细消息构造UnmarshalException。 
             | 
| UnmarshalException(String message, String errorCode)
              使用指定的详细消息和供应商特定的错误代码构造UnmarshalException。 
             | 
| UnmarshalException(String message, String errorCode, Throwable exception)
              构造具有指定的详细消息,供应商特定的错误代码和linkedException的UnmarshalException。 
             | 
| UnmarshalException(String message, Throwable exception)
              使用指定的详细消息和linkedException构造UnmarshalException。 
             | 
| UnmarshalException(Throwable exception)
              使用linkedException构造UnmarshalException。 
             | 
getCause, getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTracepublic UnmarshalException(String message)
message - 异常的描述 
           public UnmarshalException(String message, String errorCode)
message - 异常的描述 
           errorCode - 指定供应商特定错误代码的字符串 
           public UnmarshalException(Throwable exception)
exception - 链接异常 
           public UnmarshalException(String message, Throwable exception)
message - 异常的描述 
           exception - 链接异常 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.