![]() |
VR-Link API Documentation for HLA Evolved
|
This file declares vlException. More...
Go to the source code of this file.
Classes | |
| class | DtException |
| DtException is the generic MAK Exception from which all other Exceptions thrown by MAK products are derived. More... | |
| class | DtTemplatedException< I > |
| A Templated version of DtException. More... | |
Macros | |
| #define | __DtFUNC__ "-Unknown Function-" |
| Note: FUNCTION macro is not defined in Microsoft VC++ 6.0. More... | |
| #define | DtTHROW_NEW(exceptionClass, errorMsg) throw exceptionClass(DtString(#exceptionClass": ") + errorMsg, __DtFUNC__, DtFilename::stripPath(__FILE__), __LINE__, 0) |
| Throws a new DtException using the class name and the error message. More... | |
| #define | DtTHROW_PROPAGATE(exceptionClass, errorMsg, exPtr) throw exceptionClass(DtString(#exceptionClass": ") + errorMsg, __DtFUNC__, DtFilename::stripPath(__FILE__), __LINE__, exPtr) |
| Throws a propagated DtException using the class name and the error message. More... | |
| #define | DtCATCH_AND_PROPAGATE(exceptionClass) |
| catches all exceptions and re-throws DtExceptions with trace. More... | |
| #define | DtCATCH_AND_WARN(stream) |
| Catches all exceptions and does not re-throw. More... | |
| #define | DtPROPAGATE(functionBody) |
| Propagate a DtCorruptState exception for a function Usage: functionDeclaration DtPropogate( functionDefinition) functionDefinition must be bound by curly-brackets { } Example: void foo(int bar) DtPropogate( { ... More... | |
Typedefs | |
| typedef DtTemplatedException < DtInvalidInputNumber > | DtInvalidInput |
| typedef DtTemplatedException < DtUnknownExceptionNumber > | DtUnknownException |
| typedef DtTemplatedException < DtCorruptedStateNumber > | DtCorruptedState |
Functions | |
| std::ostream & | operator<< (std::ostream &, const DtException &) |
| Output operator for Exceptions. More... | |
Variables | |
| const int | DtInvalidInputNumber = ~0 |
| Thrown when an input parameter to a function or a CTOR was invalid. More... | |
| const int | DtUnknownExceptionNumber = ~1 |
| Thrown when an unknown exception was caught. More... | |
| const int | DtCorruptedStateNumber = ~2 |
| Thrown when an object's state is somehow corrupted. More... | |
This file declares vlException.
| #define DtTHROW_PROPAGATE | ( | exceptionClass, | |
| errorMsg, | |||
| exPtr | |||
| ) | throw exceptionClass(DtString(#exceptionClass": ") + errorMsg, __DtFUNC__, DtFilename::stripPath(__FILE__), __LINE__, exPtr) |
Throws a propagated DtException using the class name and the error message.