Java Fundamental Classes Reference

Previous Chapter 18
The java.util.zip Package
Next
 

ZipException

Name

ZipException

Synopsis

Class Name:

java.util.zip.ZipException

Superclass:

java.io.IOException

Immediate Subclasses:

None

Interfaces Implemented:

None

Availability:

New as of JDK 1.1

Description

A ZipException is thrown when an error occurs when reading or writing a ZIP file. Normally this occurs when data is read that is not in the correct format.

Class Summary

public class java.util.ZipException extends java.io.IOException {
  // Constructors
  public ZipException();
  public ZipException(String s);
}

Constructors

ZipException

protected ZipException()

Description

This constructor creates a ZipException with no associated detail message.

public ZipException(String s)

Parameters

s

The detail message.

Description

This constructor creates a ZipException with the given detail message.

Inherited Methods

Method

Inherited From

Method

Inherited From

clone()

Object

equals(Object)

Object

fillInStackTrace()

Throwable

finalize()

Object

getClass()

Object

getLocalizedMessage()

Throwable

getMessage()

Throwable

hashCode()

Object

notify()

Object

notifyAll()

Object

printStackTrace()

Throwable

printStackTrace(PrintStream)

Throwable

printStackTrace(PrintWriter)

Throwable

toString()

Throwable

wait()

Object

wait(long)

Object

wait(long, int)

Object

   

See Also

Exception, IOException, RuntimeException, Throwable


Previous Home Next
ZipEntry Book Index ZipFile

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java