Package io.kojan.xml
Class XMLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.kojan.xml.XMLException
-
- All Implemented Interfaces:
java.io.Serializable
public class XMLException extends java.lang.Exception
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XMLException(java.lang.String message)
Constructs a new XML exception with the specified detail message and no cause.XMLException(java.lang.String message, java.lang.Throwable cause)
Constructs a new XML exception with the specified detail message and cause.XMLException(java.lang.Throwable cause)
Constructs a new XML exception with the specified cause and no detail message.
-
-
-
Constructor Detail
-
XMLException
public XMLException(java.lang.String message)
Constructs a new XML exception with the specified detail message and no cause.- Parameters:
message
- the exception detail message- See Also:
Exception(String)
-
XMLException
public XMLException(java.lang.String message, java.lang.Throwable cause)
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:
Exception(String,Throwable)
-
XMLException
public XMLException(java.lang.Throwable cause)
Constructs a new XML exception with the specified cause and no detail message.- Parameters:
cause
- the cause of this exception- See Also:
Exception(Throwable)
-
-