Skip to content
Andrew Lambert edited this page Dec 8, 2022 · 1 revision

PKZip.ZipException

Class Declaration

 Protected Class ZipException
 Inherits RuntimeException

Remarks

This exception type will be raised if a required zip processing method fails. The ErrorNumber and Message properties will contain the error code and a message for that code, respectively.

Error numbers

Error numbers

Name Number Comment
ERR_NOT_ZIPPED -200 The file or stream is not recognized as zip archive.
ERR_INVALID_ENTRY -201 The archive entry is corrupt.
ERR_END_ARCHIVE -202 The archive contains no further entries.
ERR_UNSUPPORTED_COMPRESSION -203 The archive entry uses a non-standard compression algorithm.
ERR_CHECKSUM_MISMATCH -204 The archive entry failed verification.
ERR_INVALID_NAME -205 The specified file path is invalid.
ERR_TOO_LARGE -206 The file data, file comment, or file extra data field is too large for the zip format.
ERR_SIZE_REQUIRED -207 The operation cannot be performed on a MemoryBlock of unknown size.
ERR_PATH_TOO_LONG -208 The file path is too long for the zip format.

Methods

Entry-level points of interest denoted by "☜"



Clone this wiki locally