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
public class UncheckedJAXBException extends RuntimeException
Wraps aJAXBExceptionwith an unchecked exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UncheckedJAXBException(String message, javax.xml.bind.JAXBException cause)Construct an instance.UncheckedJAXBException(javax.xml.bind.JAXBException cause)Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.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 Detail
-
UncheckedJAXBException
public UncheckedJAXBException(String message, javax.xml.bind.JAXBException cause)
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(javax.xml.bind.JAXBException cause)
Construct an instance.- Parameters:
cause- the cause, which cannot be null- Throws:
IllegalArgumentException- if cause is null
-
-