Package java.io

Class IOException

    • Constructor Detail

      • IOException

        public IOException()
        Constructs a new IOException with its stack trace filled in.
      • IOException

        public IOException​(String detailMessage)
        Constructs a new IOException with its stack trace and detail message filled in.
        Parameters:
        detailMessage - the detail message for this exception.
      • IOException

        public IOException​(String message,
                           Throwable cause)
        Constructs a new instance of this class with detail message and cause filled in.
        Parameters:
        message - The detail message for the exception.
        cause - The detail cause for the exception.
        Since:
        1.6
      • IOException

        public IOException​(Throwable cause)
        Constructs a new instance of this class with its detail cause filled in.
        Parameters:
        cause - The detail cause for the exception.
        Since:
        1.6