#include <Exception.h>
Public Types | |
| enum | { FILE_NOT_FOUND, BAD_PLANE_VIEW, BAD_PLANE_NUMBER, BAD_CELL_NUMBER, BAD_NODE, BAD_GEO_CONFIG, BAD_CELL_UNIQUE_ID } |
| 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/Geometry/Exception.h.
|
|
Enumerate all the types of exceptions thrown.
Definition at line 18 of file pkgs/Geometry/Exception.h. 00018 {
00019 FILE_NOT_FOUND,
00020 BAD_PLANE_VIEW,
00021 BAD_PLANE_NUMBER,
00022 BAD_CELL_NUMBER,
00023 BAD_NODE,
00024 BAD_GEO_CONFIG,
00025 BAD_CELL_UNIQUE_ID
00026 };
|
|
||||||||||||||||||||
|
Exceptions thrown by the geometry package
Definition at line 33 of file pkgs/Geometry/Exception.h. 00033 : 00034 fFile(f), fLine(lno), fId(x) { 00035 if (msg!=0) fMsg = msg; 00036 std::cerr << "* Exception in " << fFile << ":" << fLine 00037 << " id=" << fId << ": " << fMsg << std::endl; 00038 }
|
|
|
Definition at line 41 of file pkgs/Geometry/Exception.h. |
|
|
Line number from which the exception was thrown.
Definition at line 43 of file pkgs/Geometry/Exception.h. |
|
|
File the threw the exception.
Definition at line 42 of file pkgs/Geometry/Exception.h. |
|
|
Id # of exception (see above).
Definition at line 44 of file pkgs/Geometry/Exception.h. |
1.3.9.1