|
NSUNI/NSLAR Library a250670
|
Defines the library-wide exception hierarchy and error handling macros. More...
Go to the source code of this file.
Classes | |
| class | nnl::Exception |
| Base exception class for the library specific exceptions. More... | |
| class | nnl::RuntimeError |
| Exception thrown for generic runtime errors. More... | |
| class | nnl::ParseError |
| Exception thrown for parsing errors. More... | |
| class | nnl::PreconditionError |
| Exception thrown when a contract precondition is violated. More... | |
| class | nnl::RangeError |
| Exception thrown for out-of-range errors. More... | |
| class | nnl::NarrowError |
| Exception thrown for narrowing conversion errors. More... | |
| class | nnl::IOError |
| Exception thrown for I/O like operations. More... | |
Namespaces | |
| namespace | nnl |
Macros | |
| #define | NNL_THROW(object) |
| Throws an exception or terminates the program if exceptions are disabled. | |
| #define | NNL_TRY if (true) |
| Expands to a try statement; or a dummy if statement when exceptions are disabled. | |
| #define | NNL_CATCH(type) |
| Expands to a catch statement; or a dummy if statement when exceptions are disabled. | |
Defines the library-wide exception hierarchy and error handling macros.