java.util.zip.DataFormatException
java.lang.Exception
None
None
New as of JDK 1.1
A DataFormatException is thrown when data is not in the expected format, which can mean that the data is invalid or corrupt. In particular, the inflate() methods of Inflater throw this exception if they encounter data in an unexpected format.
public class java.util.zip.DataFormatException extends java.lang.Exception { // Constructors public DataFormatException(); public DataFormatException(String s); }
This constructor creates a DataFormatException with no associated detail message.
The detail message.
This constructor creates a DataFormatException with the specified detail message.
Method |
Inherited From |
Method |
Inherited From |
---|---|---|---|
clone() |
Object |
equals(Object) |
Object |
fillInStackTrace() |
Throwable |
finalize() |
Object |
getClass() |
Object |
getLocalizedMessage() |
Throwable |
getMessage() |
Throwable |
hashCode() |
Object |
notify() |
Object |
notifyAll() |
Object |
printStackTrace() |
Throwable |
printStackTrace(PrintStream) |
Throwable |
printStackTrace(PrintWriter) |
Throwable |
toString() |
Throwable |
wait() |
Object |
wait(long) |
Object |
wait(long, int) |
Object |
Exception, Inflater, Throwable