Class UncheckedJAXBException

    • Constructor Detail

      • UncheckedJAXBException

        public UncheckedJAXBException​(String message,
                                      javax.xml.bind.JAXBException cause)
        Construct an instance.
        Parameters:
        message - the message, which can be null
        cause - the cause, which cannot be null
        Throws:
        IllegalArgumentException - if cause is null
      • UncheckedJAXBException

        public UncheckedJAXBException​(javax.xml.bind.JAXBException cause)
        Construct an instance.
        Parameters:
        cause - the cause, which cannot be null
        Throws:
        IllegalArgumentException - if cause is null
    • Method Detail

      • getCause

        public javax.xml.bind.JAXBException getCause()
        Returns the cause of this exception.
        Overrides:
        getCause in class Throwable
        Returns:
        the JAXBException which is the cause of this exception