Thursday, May 11, 2006 03:59 PM
I´m receiving the error Exception in thread "main" java.lang.InternalError: invalid compression method
when attempting to read a ZipEntry
while((result = inZipStream.read(bbuf, 0, bbuf.length)) != -1)
In fact when I try to deflat the file it indicates an invalid compression method but, how can I detect before the point of read the entry the error so that I can catch it with an exception and do not affect the JVM with an irrecuperable error.
How can I program that part to validate if my zip and their entries are all fine?
Thanks in advance