Package org.kiwiproject.xml
Class UncheckedJAXBException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.kiwiproject.xml.UncheckedJAXBException
- All Implemented Interfaces:
Serializable
Wraps a
JAXBException with an unchecked exception.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUncheckedJAXBException(jakarta.xml.bind.JAXBException cause) Construct an instance.UncheckedJAXBException(String message, jakarta.xml.bind.JAXBException cause) Construct an instance. -
Method Summary
Modifier and TypeMethodDescriptionjakarta.xml.bind.JAXBExceptiongetCause()Returns the cause of this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UncheckedJAXBException
Construct an instance.- Parameters:
message- the message, which can be nullcause- the cause, which cannot be null- Throws:
IllegalArgumentException- if cause is null
-
UncheckedJAXBException
public UncheckedJAXBException(jakarta.xml.bind.JAXBException cause) Construct an instance.- Parameters:
cause- the cause, which cannot be null- Throws:
IllegalArgumentException- if cause is null
-
-
Method Details