com.ibm.jtopenlite

Class MessageException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.io.IOException
          • com.ibm.jtopenlite.MessageException
  • All Implemented Interfaces:
    java.io.Serializable


    public class MessageException
    extends java.io.IOException
    Represents an IOException that includes one or more Messages as part of its exception text.
    See Also:
    Serialized Form
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      Message[] getMessages()
      Returns the array of Messages.
      java.util.List<Message> getMessagesList()
      Returns the list of Messages.
      java.lang.String getPreamble()
      Returns the preamble, which may be null.
      • Methods inherited from class java.lang.Throwable

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

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

      • MessageException

        public MessageException(java.lang.String preamble,
                        Message[] messages)
        Constructs a MessageException with the specified preamble and messages.
      • MessageException

        public MessageException(java.lang.String preamble,
                        java.util.List<Message> messages)
      • MessageException

        public MessageException(Message[] messages)
        Constructs a MessageException with no preamble.
      • MessageException

        public MessageException(java.util.List<Message> messages)
    >
    • Method Detail

      • getPreamble

        public java.lang.String getPreamble()
        Returns the preamble, which may be null.
      • getMessages

        public Message[] getMessages()
        Returns the array of Messages.
      • getMessagesList

        public java.util.List<Message> getMessagesList()
        Returns the list of Messages.