Class IOExceptionWithCause

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TaggedIOException

Deprecated.
(since 2.5) use IOException instead
Subclasses IOException with the Throwable constructors missing before Java 6.
Since:
1.4
See Also:
  • Constructor Details

    • IOExceptionWithCause

      public IOExceptionWithCause(String message, Throwable cause)
      Deprecated.
      Constructs a new instance with the given message and cause.

      As specified in Throwable, the message in the given cause is not used in this instance's message.

      Parameters:
      message - the message (see Throwable.getMessage())
      cause - the cause (see Throwable.getCause()). A null value is allowed.
    • IOExceptionWithCause

      Deprecated.
      Constructs a new instance with the given cause.

      The message is set to cause==null ? null : cause.toString(), which by default contains the class and message of cause. This constructor is useful for call sites that just wrap another throwable.

      Parameters:
      cause - the cause (see Throwable.getCause()). A null value is allowed.