Home
last modified time | relevance | path

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

/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()
DAbstractZipFileTest.java33 import java.util.zip.ZipException;
128 } catch (ZipException expected) { in testDuplicateEntries()
271 } catch (ZipException expected) { in testSTORED()
281 } catch (ZipException expected) { in testSTORED()
292 } catch (ZipException expected) { in testSTORED()
302 } catch (ZipException expected) { in testSTORED()
354 } catch (ZipException expected) { in testSTORED()
455 } catch (ZipException expected) { in test_NUL_in_filename()
635 } catch (ZipException e) { in testReadTruncatedZipFile()
DZipOutputStreamTest.java30 import java.util.zip.ZipException;
/libcore/ojluni/src/main/java/java/util/zip/
DZipException.java39 class ZipException extends IOException { class
46 public ZipException() { in ZipException() method in ZipException
57 public ZipException(String s) { in ZipException() method in ZipException
DZipOutputStream.java86 private static int version(ZipEntry e) throws ZipException { in version()
90 default: throw new ZipException("unsupported compression method"); in version()
222 throw new ZipException( in putNextEntry()
226 throw new ZipException( in putNextEntry()
231 throw new ZipException("unsupported compression method"); in putNextEntry()
234 throw new ZipException("duplicate entry: " + e.name); in putNextEntry()
262 throw new ZipException( in closeEntry()
267 throw new ZipException( in closeEntry()
272 throw new ZipException( in closeEntry()
289 throw new ZipException( in closeEntry()
[all …]
DZipInputStream.java232 throw new ZipException("unexpected EOF"); in read()
237 throw new ZipException( in read()
243 throw new ZipException("invalid compression method"); in read()
321 throw new ZipException("encrypted ZIP entry not supported"); in readLOC()
328 throw new ZipException( in readLOC()
400 throw new ZipException( in readEnd()
405 throw new ZipException( in readEnd()
410 throw new ZipException( in readEnd()
DGZIPInputStream.java174 throw new ZipException("Not in GZIP format"); in readHeader()
178 throw new ZipException("Unsupported compression method"); in readHeader()
207 throw new ZipException("Corrupt GZIP header"); in readHeader()
234 throw new ZipException("Corrupt GZIP trailer"); in readTrailer()
DInflaterOutputStream.java169 throw new ZipException(msg); in flush()
264 throw new ZipException("ZLIB dictionary missing"); in write()
273 throw new ZipException(msg); in write()
DInflaterInputStream.java183 throw new ZipException(s != null ? s : "Invalid ZLIB data format"); in read()
DZipFile.java200 public ZipFile(File file) throws ZipException, IOException { in ZipFile()
441 throw new ZipException("invalid compression method"); in getInputStream()
763 throw new ZipException("ZipFile closed"); in ensureOpenOrZipException()
/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/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/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.java30 import java.util.zip.ZipException;
217 } catch (ZipException e) { in test_write$BII()
283 } 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/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()
/libcore/
Dopenjdk_java_files.bp1207 "ojluni/src/main/java/java/util/zip/ZipException.java",