|
|||||||||
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 sofya.base.exceptions.BadFileFormatException
public class BadFileFormatException
Exception that indicates that a given file contains data that is malformed, corrupted, not the output of a Sofya tool, or otherwise unreadable by the file handler.
Constructor Summary | |
---|---|
BadFileFormatException()
Creates new instance of this exception using the default message. |
|
BadFileFormatException(java.lang.String msg)
Creates new instance of this exception with a given message. |
|
BadFileFormatException(java.lang.String s,
java.lang.Throwable e)
Creates an instance with the given message wrapping another exception. |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
Gets the exception that is the original source of the problem (may be null ). |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, 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 |
---|
public BadFileFormatException()
public BadFileFormatException(java.lang.String msg)
msg
- Message to be associated with this exception in place
of the default message.public BadFileFormatException(java.lang.String s, java.lang.Throwable e)
Method Detail |
---|
public java.lang.Throwable getCause()
null
).
getCause
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |