Package org.springframework.xml
Class XmlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.xml.XmlException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
XmlValidationException
,XPathException
,XsdSchemaException
public abstract class XmlException
extends org.springframework.core.NestedRuntimeException
Root of the hierarchy of XML exception.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
XmlException
(String message) Constructs a new instance of theXmlException
with the specific detail message.protected
XmlException
(String message, Throwable throwable) Constructs a new instance of theXmlException
with the specific detail message and exception. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
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 instance of theXmlException
with the specific detail message.- Parameters:
message
- the detail message
-
XmlException
Constructs a new instance of theXmlException
with the specific detail message and exception.- Parameters:
message
- the detail messagethrowable
- the wrapped exception
-