ZipException (Java SE 15 & JDK 15) (original) (raw)
All Implemented Interfaces:
[Serializable](../../io/Serializable.html "interface in java.io")
Direct Known Subclasses:
[JarException](../jar/JarException.html "class in java.util.jar")
public class ZipException extends IOException
Signals that a Zip exception of some sort has occurred.
Since:
1.1
See Also:
Constructor Summary
Constructors
Constructor | Description |
---|---|
ZipException() | Constructs a ZipException with null as its error detail message. |
ZipException​(String s) | Constructs a ZipException with the specified detail message. |
Method Summary
Methods declared in class java.lang.Throwable
[addSuppressed](../../lang/Throwable.html#addSuppressed%28java.lang.Throwable%29), [fillInStackTrace](../../lang/Throwable.html#fillInStackTrace%28%29), [getCause](../../lang/Throwable.html#getCause%28%29), [getLocalizedMessage](../../lang/Throwable.html#getLocalizedMessage%28%29), [getMessage](../../lang/Throwable.html#getMessage%28%29), [getStackTrace](../../lang/Throwable.html#getStackTrace%28%29), [getSuppressed](../../lang/Throwable.html#getSuppressed%28%29), [initCause](../../lang/Throwable.html#initCause%28java.lang.Throwable%29), [printStackTrace](../../lang/Throwable.html#printStackTrace%28%29), [printStackTrace](../../lang/Throwable.html#printStackTrace%28java.io.PrintStream%29), [printStackTrace](../../lang/Throwable.html#printStackTrace%28java.io.PrintWriter%29), [setStackTrace](../../lang/Throwable.html#setStackTrace%28java.lang.StackTraceElement%5B%5D%29), [toString](../../lang/Throwable.html#toString%28%29)
Constructor Details
ZipException
public ZipException()
Constructs aZipException
withnull
as its error detail message.ZipException
public ZipException​(String s)
Constructs aZipException
with the specified detail message.
Parameters:
s
- the detail message.