|
|||||||||
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 sofya.base.exceptions.LocatableFileException sofya.base.exceptions.DataTypeException
public class DataTypeException
Exception that indicates that a file contains data of a different type than was expected at a particular location.
Constructor Summary | |
---|---|
DataTypeException(int lineNum)
Creates a new data type exception. |
|
DataTypeException(java.lang.String msg,
int lineNum)
Creates a new data type exception with a message. |
Method Summary |
---|
Methods inherited from class sofya.base.exceptions.LocatableFileException |
---|
getLineNumber, getMessage, toString |
Methods inherited from class sofya.base.exceptions.BadFileFormatException |
---|
getCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataTypeException(int lineNum)
lineNum
- Line in the file containing the unexpected
type of data.public DataTypeException(java.lang.String msg, int lineNum)
msg
- Message associated with this data type exception.lineNum
- Line in the file containing the unexpected
type of data.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |