java.util.zip
Class DataFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.util.zip.DataFormatException
All Implemented Interfaces:
Serializable

public class DataFormatException
extends Exception

Exception thrown when compressed data is corrupt.

Since:
1.1
See Also:
Serialized Form

Constructor Summary
DataFormatException()
          Create an exception without a message.
DataFormatException(String msg)
          Create an exception with a message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataFormatException

public DataFormatException()
Create an exception without a message.


DataFormatException

public DataFormatException(String msg)
Create an exception with a message.

Parameters:
msg - the message