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)
构造具有指定的详细消息,供应商特定的错误代码和linkedException的MarshalException。
|
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
- 链接异常