|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException file.FileFormatException
public class FileFormatException
A FileFormatException is an IOException arising from an invalid file format.
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 |
---|
public FileFormatException(java.io.File f)
f
- public FileFormatException(java.lang.String fnm)
fnm
- Method Detail |
---|
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |