IOError.java revision f33eae7e84eb6d3b0f4e86b59605bb3de73009f3
108ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes/* 208ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * Licensed to the Apache Software Foundation (ASF) under one or more 308ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * contributor license agreements. See the NOTICE file distributed with 408ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * this work for additional information regarding copyright ownership. 508ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * The ASF licenses this file to You under the Apache License, Version 2.0 608ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * (the "License"); you may not use this file except in compliance with 708ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * the License. You may obtain a copy of the License at 808ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * 908ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * http://www.apache.org/licenses/LICENSE-2.0 1008ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * 1108ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * Unless required by applicable law or agreed to in writing, software 1208ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * distributed under the License is distributed on an "AS IS" BASIS, 1308ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1408ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * See the License for the specific language governing permissions and 1508ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * limitations under the License. 1608ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes */ 1708ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes 1808ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughespackage java.io; 1908ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes 2008ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes/** 2108ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * This error is thrown when a severe I/O error has happened. 22f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes * 2308ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * @since 1.6 2408ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * @hide 2508ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes */ 2608ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughespublic class IOError extends Error { 2708ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes private static final long serialVersionUID = 67100927991680413L; 2808ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes 2908ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes /** 3008ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * Constructs a new instance with its cause filled in. 31f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes * 3208ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * @param cause 3308ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes * The detail cause for the error. 3408ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes */ 3508ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes public IOError(Throwable cause) { 3608ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes super(cause); 3708ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes } 3808ec8fd5c950cb94e12aefa08c89d78762acf18aElliott Hughes} 39