com.ibm.as400.data
Class XmlException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.as400.data.XmlException
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- PcmlException
public class XmlException extends java.lang.Exception
Thrown when an error is encountered processing XML.- See Also:
- Serialized Form
-
-
Method Summary
Methods Modifier and Type Method and Description java.lang.Exception
getException()
Returns the original exception that caused thisXmlException
.java.lang.String
getLocalizedMessage()
Returns a localized description of thisXmlException
.java.lang.String
getMessage()
Returns a description of thisXmlException
.
-
-
-
Method Detail
-
getLocalizedMessage
public java.lang.String getLocalizedMessage()
Returns a localized description of thisXmlException
.- Overrides:
getLocalizedMessage
in classjava.lang.Throwable
-
getMessage
public java.lang.String getMessage()
Returns a description of thisXmlException
.- Overrides:
getMessage
in classjava.lang.Throwable
-
getException
public java.lang.Exception getException()
Returns the original exception that caused thisXmlException
. This method returns the same object as Exception.getCause().- Returns:
- The exception that caused this instance of
XmlException
. Note: This may be an instance ofPcmlSpecificationException
. If this exception was not caused by another exception, null is returned.
-
-