Package java.util.zip
Class DataFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.util.zip.DataFormatException
-
- All Implemented Interfaces:
Serializable
public class DataFormatException extends Exception
DataFormatExceptionis used to indicate an error in the format of a particular data stream which is to be uncompressed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataFormatException()Constructs a newDataFormatExceptioninstance.DataFormatException(String detailMessage)Constructs a newDataFormatExceptioninstance with the specified message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DataFormatException
public DataFormatException()
Constructs a newDataFormatExceptioninstance.
-
DataFormatException
public DataFormatException(String detailMessage)
Constructs a newDataFormatExceptioninstance with the specified message.- Parameters:
detailMessage- the detail message for the exception.
-
-