Spring Framework

org.springframework.oxm
Class MarshallingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.oxm.XmlMappingException
                      extended by org.springframework.oxm.MarshallingException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MarshallingFailureException, UnmarshallingFailureException

public abstract class MarshallingException
extends XmlMappingException

Base class for exception thrown when a marshalling or unmarshalling error occurs.

Since:
3.0
Author:
Arjen Poutsma, Juergen Hoeller
See Also:
MarshallingFailureException, UnmarshallingFailureException, Serialized Form

Constructor Summary
protected MarshallingException(java.lang.String msg)
          Construct a MarshallingException with the specified detail message.
protected MarshallingException(java.lang.String msg, java.lang.Throwable cause)
          Construct a MarshallingException with the specified detail message and nested exception.
 
Method Summary
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MarshallingException

protected MarshallingException(java.lang.String msg)
Construct a MarshallingException with the specified detail message.

Parameters:
msg - the detail message

MarshallingException

protected MarshallingException(java.lang.String msg,
                               java.lang.Throwable cause)
Construct a MarshallingException with the specified detail message and nested exception.

Parameters:
msg - the detail message
cause - the nested exception

Spring Framework