file
Class FileFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by file.FileFormatException
All Implemented Interfaces:
java.io.Serializable

public class FileFormatException
extends java.io.IOException

A FileFormatException is an IOException arising from an invalid file format.

See Also:
Serialized Form

Constructor Summary
FileFormatException(java.io.File f)
          new FileFormatException(f) returns a new FileFormatException for the file f.
FileFormatException(java.lang.String fnm)
          new FileFormatException(fnm) returns a new FileFormatException for the file named fnm.
 
Method Summary
 java.lang.String getMessage()
          ffe.getMessage() returns a string specifying the name of the file and the nature of the error.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

FileFormatException

public FileFormatException(java.io.File f)
new FileFormatException(f) returns a new FileFormatException for the file f.

Parameters:
f -

FileFormatException

public FileFormatException(java.lang.String fnm)
new FileFormatException(fnm) returns a new FileFormatException for the file named fnm.

Parameters:
fnm -
Method Detail

getMessage

public java.lang.String getMessage()
ffe.getMessage() returns a string specifying the name of the file and the nature of the error.

Overrides:
getMessage in class java.lang.Throwable
Returns: