public class MarshalException extends JAXBException
的ValidationEventHandler可能导致此异常被抛出元帅操作期间。看到ValidationEventHandler.handleEvent(ValidationEvent)
。
JAXBException
,
Marshaller
,
Serialized Form
Constructor and Description |
---|
MarshalException(String message)
构建一个marshalexception指定详细信息。
|
MarshalException(String message, String errorCode)
构建一个marshalexception指定详细信息和供应商特定的错误代码。
|
MarshalException(String message, String errorCode, Throwable exception)
构建指定详细信息的一个marshalexception,供应商特定的错误代码,并linkedexception。
|
MarshalException(String message, Throwable exception)
构建指定详细信息和linkedexception一marshalexception。
|
MarshalException(Throwable exception)
构建一个linkedexception一marshalexception。
|
getCause, getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
public MarshalException(String message)
message
-描述的例外
public MarshalException(String message, String errorCode)
message
-描述的例外
errorCode
-指定供应商特定的错误代码
public MarshalException(Throwable exception)
exception
-链接的异常
public MarshalException(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.