Class ZipError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.VirtualMachineError
java.lang.InternalError
java.util.zip.ZipError
- All Implemented Interfaces:
Serializable
@Deprecated(since="24", forRemoval=true) public class ZipError extends InternalError
Deprecated, for removal: This API element is subject to removal in a future version.
Signals that an unrecoverable error has occurred.
- Since:
- 1.6
- See Also:
Constructor Summary
| Constructor | Description |
|---|---|
ZipError |
Deprecated, for removal: This API element is subject to removal in a future version. Constructs a ZipError with the given detail message. |
Method Summary
Methods declared in class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Details
ZipError
public ZipError(String s)
Deprecated, for removal: This API element is subject to removal in a future version.
Constructs a ZipError with the given detail message.
- Parameters:
-
s- theStringcontaining a detail message
© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/zip/ZipError.html
ZipExceptionshould be used instead.