#include <Exception.h>
Public Types | |
| enum | { FILE_NOT_FOUND, BAD_ROW, BAD_COLUMN, BAD_ENTRY, NO_CONNECTION } |
| Enumerate all the types of exceptions thrown. More... | |
Public Member Functions | |
| Exception (const char *f, int lno, int x, const char *msg=0) | |
Public Attributes | |
| std::string | fFile |
| int | fLine |
| File the threw the exception. | |
| int | fId |
| Line number from which the exception was thrown. | |
| std::string | fMsg |
| Id # of exception (see above). | |
Definition at line 15 of file pkgs/Database/Exception.h.
|
|
Enumerate all the types of exceptions thrown.
Definition at line 18 of file pkgs/Database/Exception.h. 00018 {
00019 FILE_NOT_FOUND,
00020 BAD_ROW,
00021 BAD_COLUMN,
00022 BAD_ENTRY,
00023 NO_CONNECTION
00024 };
|
|
||||||||||||||||||||
|
Exceptions thrown by the geometry package
Definition at line 31 of file pkgs/Database/Exception.h. 00031 : 00032 fFile(f), fLine(lno), fId(x) { 00033 if (msg!=0) fMsg = msg; 00034 std::cerr << "* Exception in " << fFile << ":" << fLine 00035 << " id=" << fId << ": " << fMsg << std::endl; 00036 }
|
|
|
Definition at line 39 of file pkgs/Database/Exception.h. |
|
|
Line number from which the exception was thrown.
Definition at line 41 of file pkgs/Database/Exception.h. |
|
|
File the threw the exception.
Definition at line 40 of file pkgs/Database/Exception.h. |
|
|
Id # of exception (see above).
Definition at line 42 of file pkgs/Database/Exception.h. |
1.3.9.1