Class IOException

  • All Implemented Interfaces:
    java.io.Serializable

    public class IOException
    extends ITextException
    Exception class for exceptions in io module.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.lang.Object> messageParams  
      protected java.lang.Object obj
      Object for more details
    • Constructor Summary

      Constructors 
      Constructor Description
      IOException​(java.lang.String message)
      Creates a new IOException.
      IOException​(java.lang.String message, java.lang.Object obj)
      Creates a new IOException.
      IOException​(java.lang.String message, java.lang.Throwable cause)
      Creates a new IOException.
      IOException​(java.lang.String message, java.lang.Throwable cause, java.lang.Object obj)
      Creates a new instance of IOException.
      IOException​(java.lang.Throwable cause)
      Creates a new IOException.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()
      protected java.lang.Object[] getMessageParams()
      Gets additional params for Exception message.
      IOException setMessageParams​(java.lang.Object... messageParams)
      Sets additional params for Exception message.
      • Methods inherited from class java.lang.Throwable

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

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

      • obj

        protected java.lang.Object obj
        Object for more details
      • messageParams

        private java.util.List<java.lang.Object> messageParams
    • Constructor Detail

      • IOException

        public IOException​(java.lang.String message)
        Creates a new IOException.
        Parameters:
        message - the detail message.
      • IOException

        public IOException​(java.lang.Throwable cause)
        Creates a new IOException.
        Parameters:
        cause - the cause (which is saved for later retrieval by Throwable.getCause() method).
      • IOException

        public IOException​(java.lang.String message,
                           java.lang.Object obj)
        Creates a new IOException.
        Parameters:
        message - the detail message.
        obj - an object for more details.
      • IOException

        public IOException​(java.lang.String message,
                           java.lang.Throwable cause)
        Creates a new IOException.
        Parameters:
        message - the detail message.
        cause - the cause (which is saved for later retrieval by Throwable.getCause() method).
      • IOException

        public IOException​(java.lang.String message,
                           java.lang.Throwable cause,
                           java.lang.Object obj)
        Creates a new instance of IOException.
        Parameters:
        message - the detail message.
        cause - the cause (which is saved for later retrieval by Throwable.getCause() method).
        obj - an object for more details.
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • getMessageParams

        protected java.lang.Object[] getMessageParams()
        Gets additional params for Exception message.
        Returns:
        params for exception message.
      • setMessageParams

        public IOException setMessageParams​(java.lang.Object... messageParams)
        Sets additional params for Exception message.
        Parameters:
        messageParams - additional params.
        Returns:
        object itself.