Support Forum G3D Web Page |
Thrown by operator[] when a key is not present in a const table. More...
Inherits G3D::ParseError.
Public Types | |
enum | { UNKNOWN = -1 } |
Public Member Functions | |
KeyNotFound (const Data *data) | |
String | formatFileInfo () const |
If information is known, ends in ": ", otherwise empty. More... | |
Public Attributes | |
int64 | byte |
For a binary file, the location of the parse error. More... | |
int | character |
Character number (in the line) of the start of the token which caused the exception. More... | |
String | filename |
Empty means unknown. More... | |
String | key |
int | line |
For a text file, the line number is the line number of start of token which caused the exception. More... | |
String | message |
Thrown by operator[] when a key is not present in a const table.
|
inline |
|
inherited |
If information is known, ends in ": ", otherwise empty.
Referenced by G3D::AnyTableReader::get().
|
inherited |
For a binary file, the location of the parse error.
ParseError::UNKNOWN if unknown.
|
inherited |
Character number (in the line) of the start of the token which caused the exception.
1 is the character in the line. ParseError::UNKNOWN if unknown.
Referenced by G3D::Any::IndexOutOfBounds::IndexOutOfBounds(), and KeyNotFound().
|
inherited |
Empty means unknown.
Referenced by G3D::Any::IndexOutOfBounds::IndexOutOfBounds(), and KeyNotFound().
String G3D::Any::KeyNotFound::key |
|
inherited |
For a text file, the line number is the line number of start of token which caused the exception.
1 is the first line of the file. ParseError::UNKNOWN if unknown. Note that you can use TextInput::Settings::startingLineNumberOffset to shift the effective line number that is reported by that class.
Referenced by G3D::Any::IndexOutOfBounds::IndexOutOfBounds(), and KeyNotFound().
|
inherited |
Referenced by G3D::AnyTableReader::get(), and G3D::Any::IndexOutOfBounds::IndexOutOfBounds().