Skip to content

Most visited

Recently visited

navigation
Added in API level 1

ZipException

public class ZipException
extends IOException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.util.zip.ZipException
Known Direct Subclasses


This runtime exception is thrown by ZipFile and ZipInputStream when the file or stream is not a valid zip file.

See also:

Summary

Public constructors

ZipException()

Constructs a new ZipException instance.

ZipException(String detailMessage)

Constructs a new ZipException instance with the specified message.

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

ZipException

Added in API level 1
ZipException ()

Constructs a new ZipException instance.

ZipException

Added in API level 1
ZipException (String detailMessage)

Constructs a new ZipException instance with the specified message.

Parameters
detailMessage String: the detail message for the exception.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.