Returns the error code corresponding to the exception. The error codes are listed below.
(To get the corresponding text description at runtime, call the getMessage() method).
Errors The following errors may be generated by the bean. Note that frequently the error message
will contain more specific information than what is listed here.
Note that some non-fatal errors may be trapped and explicitly ignored in the Error
event. This will
allow the bean to continue operation even in case of error.
Gzip Errors
- 102
- The gzip archive is of an invalid or unsupported format.
- 111
- Can't open file for read.
- 112
- Can't open file for write.
- 113
- Can't create directory.
- 114
- The file is too large.
- 115
- Can't create empty archive.
- 116
- The archive must be scanned prior to attempting this operation.
- 117
- The array index is out of range.\011
- 118
- The maximum size of the archive has been exceeded.
- 119
- The archive must be specified, or streaming must be enabled.
- 120
- The component is busy.
- 124
- Must specify the compressed name.
- 127
- Bad CRC-32 checksum.
- 128
- Unable to set file date.
- 133
- File already exists in the archive.
- 150
- An I/O error has occurred. (Details follow.)
Errors The following errors may be generated by the bean. Note that frequently the error message
will contain more specific information than what is listed here.
Note that some non-fatal errors may be trapped and explicitly ignored in the Error
event. This will
allow the bean to continue operation even in case of error.
Jar Errors
- 104
- The jar archive is of an invalid or unsupported format.
- 111
- Can't open file for read.
- 112
- Can't open file for write.
- 113
- Can't create directory.
- 114
- The file is too large.
- 115
- Can't create empty archive.
- 116
- The archive must be scanned prior to attempting this operation.
- 117
- The array index is out of range.\011
- 118
- The maximum size of the archive has been exceeded.
- 119
- The archive must be specified, or streaming must be enabled.
- 120
- The component is busy.
- 124
- Must specify the compressed name.
- 127
- Bad CRC-32 checksum.
- 128
- Unable to set file date.
- 133
- File already exists in the archive.
- 150
- An I/O error has occurred. (Details follow.)
Errors The following errors may be generated by the bean. Note that frequently the error message
will contain more specific information than what is listed here.
Note that some non-fatal errors may be trapped and explicitly ignored in the Error
event. This will
allow the bean to continue operation even in case of error.
Tar Errors
- 103
- The tar archive is of an invalid or unsupported format.
- 102
- The gzip archive is of an invalid or unsupported format.
- 114
- The file is too large.
- 115
- Can't create empty archive.
- 116
- The archive must be scanned prior to attempting this operation.
- 117
- The array index is out of range.\011
- 118
- The maximum size of the archive has been exceeded.
- 119
- The archive must be specified, or streaming must be enabled.
- 120
- The component is busy.
- 121
- The Append method is not supported for .tar.gz files.
- 122
- The Delete method is not supported for .tar.gz files.
- 124
- Must specify the compressed name.
- 127
- Bad CRC-32 checksum.
- 128
- Unable to set file date.
- 129
- Invalid permissions.
- 131
- Unable to set permissions.
- 134
- SymLink extraction not supported.
- 135
- HardLink extraction not supported.
- 150
- An I/O error has occurred. (Details follow.)
Errors The following errors may be generated by the bean. Note that frequently the error message
will contain more specific information than what is listed here.
Note that some non-fatal errors may be trapped and explicitly ignored in the Error
event. This will
allow the bean to continue operation even in case of error.
Zip Errors
- 101
- The zip archive is of an invalid or unsupported format.
- 105
- The password is missing or incorrect.
- 106
- Encryption is not supported when streaming is enabled.
- 111
- Can't open file for read.
- 112
- Can't open file for write.
- 113
- Can't create directory.
- 114
- The file is too large.
- 115
- Can't create empty archive.
- 116
- The archive must be scanned prior to attempting this operation.
- 117
- The array index is out of range.\011
- 118
- The maximum size of the archive has been exceeded.
- 119
- The archive must be specified, or streaming must be enabled.
- 120
- The component is busy.
- 124
- Must specify the compressed name.
- 127
- Bad CRC-32 checksum.
- 128
- Unable to set file date.
- 133
- File already exists in the archive.
- 150
- An I/O error has occurred. (Details follow.)
Note that the streams returned by GetCompressionStream
and GetDecompressionStream
will throw standard IOExceptions in case of error.
ZipStream Errors
- 101
- The data is of an invalid or unsupported format.
- 111
- Can't open file for read.
- 150
- An I/O error has occurred. (Details follow.)