< prev index next >

src/java.base/share/classes/java/util/zip/ZipError.java

Print this page




  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.util.zip;
  27 
  28 /**
  29  * Signals that an unrecoverable error has occurred.
  30  *
  31  * @author  Dave Bristor
  32  * @since   1.6
  33  */
  34 public class ZipError extends InternalError {

  35     private static final long serialVersionUID = 853973422266861979L;
  36 
  37     /**
  38      * Constructs a ZipError with the given detail message.
  39      * @param s the {@code String} containing a detail message
  40      */
  41     public ZipError(String s) {
  42         super(s);
  43     }
  44 }


  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package java.util.zip;
  27 
  28 /**
  29  * Signals that an unrecoverable error has occurred.
  30  *
  31  * @author  Dave Bristor
  32  * @since   1.6
  33  */
  34 public class ZipError extends InternalError {
  35     @java.io.Serial
  36     private static final long serialVersionUID = 853973422266861979L;
  37 
  38     /**
  39      * Constructs a ZipError with the given detail message.
  40      * @param s the {@code String} containing a detail message
  41      */
  42     public ZipError(String s) {
  43         super(s);
  44     }
  45 }
< prev index next >