Package org.springframework.oxm
Class UnmarshallingFailureException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.oxm.XmlMappingException
- org.springframework.oxm.MarshallingException
- org.springframework.oxm.UnmarshallingFailureException
- All Implemented Interfaces:
Serializable
public class UnmarshallingFailureException extends MarshallingException
Exception thrown on unmarshalling failure.- Since:
- 3.0
- Author:
- Arjen Poutsma
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description UnmarshallingFailureException(String msg)
Construct aMarshallingFailureException
with the specified detail message.UnmarshallingFailureException(String msg, Throwable cause)
Construct aMarshallingFailureException
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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
UnmarshallingFailureException
public UnmarshallingFailureException(String msg)
Construct aMarshallingFailureException
with the specified detail message.- Parameters:
msg
- the detail message
UnmarshallingFailureException
public UnmarshallingFailureException(String msg, Throwable cause)
Construct aMarshallingFailureException
with the specified detail message and nested exception.- Parameters:
msg
- the detail messagecause
- the nested exception