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 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, 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 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. This method returns the same object as Exception.getCause().
        Returns:
        The exception that caused this instance of XmlException. Note: This may be an instance of PcmlSpecificationException. If this exception was not caused by another exception, null is returned.