Package org.springframework.oxm
Class ValidationFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.oxm.XmlMappingException
org.springframework.oxm.ValidationFailureException
- All Implemented Interfaces:
Serializable
Exception thrown on marshalling validation failure.
- Since:
- 3.0
- Author:
- Arjen Poutsma
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct aValidationFailureException
with the specified detail message.ValidationFailureException
(String msg, Throwable cause) Construct aValidationFailureException
with the specified detail message and nested exception. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationFailureException
Construct aValidationFailureException
with the specified detail message.- Parameters:
msg
- the detail message
-
ValidationFailureException
Construct aValidationFailureException
with the specified detail message and nested exception.- Parameters:
msg
- the detail messagecause
- the nested exception
-