java.util.zip
Class ZipException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.util.zip.ZipException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- JarException
public class ZipException
- extends IOException
This runtime exception is thrown by ZipFile and ZipInputStream
when the file or stream is not a valid zip file.
- See Also:
ZipFile,
ZipInputStream,
Serialized Form
|
Constructor Summary |
ZipException()
Constructs a new instance of this class with its
walkback filled in. |
ZipException(String detailMessage)
Constructs a new instance of this class with its
walkback and message filled in. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ZipException
public ZipException()
- Constructs a new instance of this class with its
walkback filled in.
ZipException
public ZipException(String detailMessage)
- Constructs a new instance of this class with its
walkback and message filled in.
- Parameters:
detailMessage - String
The detail message for the exception.
Licensed Materials - Property of IBM
© Copyright IBM Corp. 2006, 2008 All Rights Reserved.