IP*Works! ZIP V8

ipworkszip
Class JarErrorEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--ipworkszip.JarErrorEvent
All Implemented Interfaces:
java.io.Serializable

public class JarErrorEvent
extends java.util.EventObject

Information about non-fatal errors.

The Error event is fired when non-fatal errors occur during compression or decompression. Note that if this event is fired during decompression this may indicate that the archive is corrupt.

By default these errors will cause the component to fail with an exception. The exception may be overridden by setting Ignore to true. This will cause the error to be ignored, the file will be skipped if necessary, and the bean will continue operation.

ErrorCode will correspond to one of the following errors:

1
Bad or missing CRC-32 checksum.
2
Failed to set creation date of a file.
111
Can't open file for read. (Skipping.)

Description contains a textual description of the error. Index and Filename contain the array index (where appropriate) and filename of the file being processed at the time of the error.

See Also:
Jar, Jar.ErrorEvent, Serialized Form

Field Summary
 java.lang.String description
           
 int errorCode
           
 java.lang.String filename
           
 boolean ignore
           
 int index
           
 
Fields inherited from class java.util.EventObject
source
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

description

public java.lang.String description

errorCode

public int errorCode

index

public int index

filename

public java.lang.String filename

ignore

public boolean ignore

IP*Works! ZIP V8

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