Home
last modified time | relevance | path

Searched refs:ZipException (Results 1 – 25 of 28) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/util/zip/
DOldZipExceptionTest.java21 import java.util.zip.ZipException;
26 ZipException zz = new ZipException(); in testZipException()
31 ZipException zz = new ZipException("Test"); in testZipExceptionLjava_lang_String()
DOldZipInputStreamTest.java26 import java.util.zip.ZipException;
74 } catch (ZipException ee) { in test_skipJ()
105 } catch (ZipException ee) { in test_read$BII()
142 } catch (ZipException ee) { in test_closeEntry()
DZipFileTest.java29 import java.util.zip.ZipException;
89 } catch (ZipException expected) { in test_throwsWhenTriesToOpenCorruptedFile()
110 } catch (ZipException expected) {} in test_throwsWhenTriesToOpen_nonEmptyFileWhichStartsWithEndHeader()
DAbstractZipFileTest.java31 import java.util.zip.ZipException;
126 } catch (ZipException expected) { in testDuplicateEntries()
269 } catch (ZipException expected) { in testSTORED()
279 } catch (ZipException expected) { in testSTORED()
290 } catch (ZipException expected) { in testSTORED()
300 } catch (ZipException expected) { in testSTORED()
352 } catch (ZipException expected) { in testSTORED()
453 } catch (ZipException expected) { in test_NUL_in_filename()
589 } catch (ZipException e) { in testReadTruncatedZipFile()
DZipOutputStreamTest.java30 import java.util.zip.ZipException;
/libcore/ojluni/src/main/java/java/util/zip/
DZipException.java37 public class ZipException extends IOException { class
45 public ZipException() { in ZipException() method in ZipException
56 public ZipException(String s) { in ZipException() method in ZipException
DZipOutputStream.java85 private static int version(ZipEntry e) throws ZipException { in version()
89 default -> throw new ZipException("unsupported compression method"); in version()
234 throw new ZipException( in putNextEntry()
238 throw new ZipException( in putNextEntry()
243 throw new ZipException("unsupported compression method"); in putNextEntry()
246 throw new ZipException("duplicate entry: " + e.name); in putNextEntry()
275 throw new ZipException( in closeEntry()
280 throw new ZipException( in closeEntry()
285 throw new ZipException( in closeEntry()
302 throw new ZipException( in closeEntry()
[all …]
DZipInputStream.java245 throw new ZipException("unexpected EOF"); in read()
250 throw new ZipException( in read()
256 throw new ZipException("invalid compression method"); in read()
334 throw new ZipException("encrypted ZIP entry not supported"); in readLOC()
434 throw new ZipException( in readEnd()
439 throw new ZipException( in readEnd()
444 throw new ZipException( in readEnd()
DGZIPInputStream.java182 throw new ZipException("Not in GZIP format"); in readHeader()
186 throw new ZipException("Unsupported compression method"); in readHeader()
215 throw new ZipException("Corrupt GZIP header"); in readHeader()
242 throw new ZipException("Corrupt GZIP trailer"); in readTrailer()
DInflaterOutputStream.java169 throw new ZipException(msg); in flush()
254 throw new ZipException("ZLIB dictionary missing"); in write()
267 throw new ZipException(msg); in write()
DZipFile.java200 public ZipFile(File file) throws ZipException, IOException { in ZipFile()
436 throw new ZipException("invalid compression method"); in getInputStream()
904 throw new ZipException("ZipFile closed"); in ensureOpenOrZipException()
981 throw new ZipException("ZipFile error reading zip file"); in initDataOffset()
984 throw new ZipException("ZipFile invalid LOC header (bad signature)"); in initDataOffset()
1262 throws ZipException in checkAndAddEntry()
1448 throw new ZipException(msg); in Source()
1601 throw new ZipException("zip END header not found"); in findEND()
1757 private static void zerror(String msg) throws ZipException { in zerror()
1758 throw new ZipException(msg); in zerror()
DInflaterInputStream.java216 throw new ZipException(s != null ? s : "Invalid ZLIB data format"); in read()
/libcore/dalvik/src/main/java/dalvik/system/
DZipPathValidator.java22 import java.util.zip.ZipException;
103 default void onZipEntryAccess(@NonNull String path) throws ZipException {} in onZipEntryAccess()
/libcore/luni/src/test/java/libcore/java/util/jar/
DOldJarInputStreamTest.java27 import java.util.zip.ZipException;
80 } catch (ZipException ee) { in test_read$ZII()
DOldJarFileTest.java24 import java.util.zip.ZipException;
150 } catch (ZipException expected) { in test_getInputStreamLjava_util_jar_JarEntry()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DInflaterOutputStreamTest.java25 import java.util.zip.ZipException;
290 } catch (ZipException e) { in test_write_$BII_Illegal()
296 } catch (ZipException e) { in test_write_$BII_Illegal()
407 } catch (ZipException e) { in test_write_$BII_Illegal()
DZipInputStreamTest.java27 import java.util.zip.ZipException;
135 } catch (ZipException ee) { in test_closeAfterException()
DZipOutputStreamTest.java31 import java.util.zip.ZipException;
221 } catch (ZipException e) { in test_write$BII()
287 } catch (ZipException e) { in test_write$BII_2()
DZipFileTest.java30 import java.util.zip.ZipException;
83 } catch (ZipException ee) { in test_ConstructorLjava_lang_String()
DInflaterTest.java29 import java.util.zip.ZipException;
770 } catch (ZipException e) { in setUp()
/libcore/ojluni/src/main/java/java/util/jar/
DJarException.java36 class JarException extends java.util.zip.ZipException {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarInputStreamTest.java31 import java.util.zip.ZipException;
81 } catch (ZipException ee) { in test_closeAfterException()
122 } catch (ZipException ee) { in test_getNextJarEntry_Ex()
394 } catch (ZipException ee) { in test_getNextEntry()
DJarFileTest.java49 import java.util.zip.ZipException;
911 } catch (ZipException ee) { in test_getInputStreamLjava_util_jar_JarEntry()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipOutputStream.java45 private static int version(java.util.zip.ZipEntry e) throws java.util.zip.ZipException { in version()
DZipFile.java42 public ZipFile(java.io.File file) throws java.io.IOException, java.util.zip.ZipException { in ZipFile()

12