DataBindingException (Java SE 9 & JDK 9 )
Keywords: javax.xml.bind.DataBindingException class

Module java.xml.bind
Package javax.xml.bind

## Class DataBindingException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - javax.xml.bind.DataBindingException

- All Implemented Interfaces:
    `Serializable`

      public class DataBindingException
      extends RuntimeException

  Exception that represents a failure in a JAXB operation.

  This exception differs from `JAXBException` in that this is an unchecked exception, while `JAXBException` is a checked exception.

  Since:
    1.6, JAXB 2.1
  See Also:
    `JAXB`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DataBindingException​(String message, Throwable cause)` |
    `DataBindingException​(Throwable cause)` |

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

- - ### Constructor Detail

    - #### DataBindingException

          public DataBindingException​(String message,
                                      Throwable cause)

    - #### DataBindingException

          public DataBindingException​(Throwable cause)