ZipException

  • ZipException signals that an error occurred during a ZIP file operation, extending IOException.

  • It provides constructors to create exceptions with or without detailed error messages.

  • JarException, related to JAR file errors, is a direct subclass of ZipException.

  • Inherited methods from Throwable and Object provide functionality for handling and inspecting the exception.

public class ZipException extends IOException
Known Direct Subclasses

Signals that a Zip exception of some sort has occurred.

See Also

Public Constructor Summary

ZipException()
Constructs a ZipException with null as its error detail message.
ZipException(String s)
Constructs a ZipException with the specified detail message.

Inherited Method Summary

Public Constructors

public ZipException ()

Constructs a ZipException with null as its error detail message.

public ZipException (String s)

Constructs a ZipException with the specified detail message.

Parameters
s the detail message.