com.ibm.as400.data
Class XmlException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.as400.data.XmlException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PcmlException

public class XmlException
extends Exception

Thrown when an error is encountered processing XML.

See Also:
Serialized Form

Method Summary
 Exception getException()
          Returns the original exception that caused this XmlException.
 String getLocalizedMessage()
          Returns a localized description of this XmlException.
 String getMessage()
          Returns a description of this XmlException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLocalizedMessage

public String getLocalizedMessage()
Returns a localized description of this XmlException.


getMessage

public String getMessage()
Returns a description of this XmlException.


getException

public 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.