IP*Works! ZIP V8

ipworkszip
Class IPWorksZipException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--ipworkszip.IPWorksZipException
All Implemented Interfaces:
java.io.Serializable

public class IPWorksZipException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
IPWorksZipException()
           
 
Method Summary
 int getCode()
          Returns the error code corresponding to the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IPWorksZipException

public IPWorksZipException()
Method Detail

getCode

public int getCode()
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.)


IP*Works! ZIP V8

Copyright (c) 2009 /n software inc. - All rights reserved.