< prev index next >

src/java.base/share/classes/java/io/IOError.java

Print this page




  29  * Thrown when a serious I/O error has occurred.
  30  *
  31  * @author  Xueming Shen
  32  * @since   1.6
  33  */
  34 public class IOError extends Error {
  35     /**
  36      * Constructs a new instance of IOError with the specified cause. The
  37      * IOError is created with the detail message of
  38      * {@code (cause==null ? null : cause.toString())} (which typically
  39      * contains the class and detail message of cause).
  40      *
  41      * @param  cause
  42      *         The cause of this error, or {@code null} if the cause
  43      *         is not known
  44      */
  45     public IOError(Throwable cause) {
  46         super(cause);
  47     }
  48 

  49     private static final long serialVersionUID = 67100927991680413L;
  50 }


  29  * Thrown when a serious I/O error has occurred.
  30  *
  31  * @author  Xueming Shen
  32  * @since   1.6
  33  */
  34 public class IOError extends Error {
  35     /**
  36      * Constructs a new instance of IOError with the specified cause. The
  37      * IOError is created with the detail message of
  38      * {@code (cause==null ? null : cause.toString())} (which typically
  39      * contains the class and detail message of cause).
  40      *
  41      * @param  cause
  42      *         The cause of this error, or {@code null} if the cause
  43      *         is not known
  44      */
  45     public IOError(Throwable cause) {
  46         super(cause);
  47     }
  48 
  49     @java.io.Serial
  50     private static final long serialVersionUID = 67100927991680413L;
  51 }
< prev index next >