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
 java.lang.Exception getException()
          Returns the original exception that caused this XmlException.
 java.lang.String getLocalizedMessage()
          Returns a localized description of this XmlException.
 java.lang.String getMessage()
          Returns a description of this XmlException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Returns a localized description of this XmlException.
Overrides:
getLocalizedMessage in class java.lang.Throwable

getMessage

public java.lang.String getMessage()
Returns a description of this XmlException.
Overrides:
getMessage in class java.lang.Throwable

getException

public java.lang.Exception getException()
Returns the original exception that caused this XmlException.
Returns:
The exception that causes this instance of XmlException. If this exception was not caused by another exception, null is returned.