Package io.kojan.xml
Class XMLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.kojan.xml.XMLException
- All Implemented Interfaces:
Serializable
Indicates an exception that occurred during XML serialization or deserialization, such as
malformed XML or XML not conforming to the expected schema.
- Author:
- Mikolaj Izdebski
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionXMLException
(String message) Constructs a new XML exception with the specified detail message and no cause.XMLException
(String message, Throwable cause) Constructs a new XML exception with the specified detail message and cause.XMLException
(Throwable cause) Constructs a new XML exception with the specified cause and no detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
XMLException
Constructs a new XML exception with the specified detail message and no cause.- Parameters:
message
- the exception detail message- See Also:
-
XMLException
Constructs a new XML exception with the specified detail message and cause.- Parameters:
message
- the exception detail messagecause
- the cause of this exception- See Also:
-
XMLException
Constructs a new XML exception with the specified cause and no detail message.- Parameters:
cause
- the cause of this exception- See Also:
-