Spring Framework

org.springframework.oxm
Class ValidationFailureException

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.ValidationFailureException
All Implemented Interfaces:
java.io.Serializable

public class ValidationFailureException
extends XmlMappingException

Exception thrown on marshalling validation failure.

Since:
3.0
Author:
Arjen Poutsma
See Also:
Serialized Form

Constructor Summary
ValidationFailureException(java.lang.String msg)
          Construct a ValidationFailureException with the specified detail message.
ValidationFailureException(java.lang.String msg, java.lang.Throwable cause)
          Construct a ValidationFailureException 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

ValidationFailureException

public ValidationFailureException(java.lang.String msg)
Construct a ValidationFailureException with the specified detail message.

Parameters:
msg - the detail message

ValidationFailureException

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

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

Spring Framework