com.ibm.as400.access

Class PersistenceException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • com.ibm.as400.access.PersistenceException
  • All Implemented Interfaces:
    java.io.Serializable


    public class PersistenceException
    extends java.lang.Exception
    Thrown when an error occurs accessing resources on the system.
    Author:
    Thomas Johnson (tom.johnson@kingland.com), Kingland Systems Corporation
    See Also:
    Serialized Form
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      AS400Message[] getMessageList()
      Returns the list of associated system messages; null if not available.
      java.lang.String toString()
      Returns a string representation of the object.
      • Methods inherited from class java.lang.Throwable

        fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PersistenceException

        public PersistenceException()
        Default constructor.
      • PersistenceException

        public PersistenceException(AS400Message[] messageList)
        Constructs an exception based on a list of system messages.
        Parameters:
        messageList - com.ibm.as400.access.AS400Message[]
      • PersistenceException

        public PersistenceException(AS400Message[] messageList,
                            java.lang.String s)
        Constructs an exception based on a list of system messages and detail string.
        Parameters:
        messageList - com.ibm.as400.access.AS400Message[]
        s - java.lang.String
      • PersistenceException

        public PersistenceException(java.lang.String s)
        Constructs an exception with the given detail string.
        Parameters:
        s - java.lang.String
      • PersistenceException

        public PersistenceException(java.lang.Throwable t)
        Constructs an exception with detail provided by the given throwable.
        Parameters:
        t - java.lang.Throwable
    • Method Detail

      • getMessageList

        public AS400Message[] getMessageList()
        Returns the list of associated system messages; null if not available.
        Returns:
        com.ibm.as400.access.AS400Message[]
      • toString

        public java.lang.String toString()
        Returns a string representation of the object.
        Overrides:
        toString in class java.lang.Throwable
        Returns:
        java.lang.String