类 MarshallingException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.oxm.XmlMappingException
- org.springframework.oxm.MarshallingException
- 所有已实现的接口:
Serializable
public abstract class MarshallingException extends XmlMappingException
Base class for exception thrown when a marshalling or unmarshalling error occurs.- 从以下版本开始:
- 3.0
- 作者:
- Arjen Poutsma, Juergen Hoeller
- 另请参阅:
MarshallingFailureException
,UnmarshallingFailureException
, 序列化表格
构造器概要
构造器 限定符 构造器 说明 protected
MarshallingException(String msg)
Construct aMarshallingException
with the specified detail message.protected
MarshallingException(String msg, Throwable cause)
Construct aMarshallingException
with the specified detail message and nested exception.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
MarshallingException
protected MarshallingException(String msg)
Construct aMarshallingException
with the specified detail message.- 参数:
msg
- the detail message
MarshallingException
protected MarshallingException(String msg, Throwable cause)
Construct aMarshallingException
with the specified detail message and nested exception.- 参数:
msg
- the detail messagecause
- the nested exception