|
Go to the source code of this file.
Classes | |
struct | TfSkipCallerFrames |
This structure is used to indicate that some number of caller frames should be skipped when capturing exception stack traces at the throw point. More... | |
class | TfBaseException |
The base class for exceptions supported by the Tf exceptions facilities. More... | |
Macros | |
#define | TF_THROW(Exception, Exceptionctorargs...) |
Construct an instance of Exception (which must derive TfBaseException) with Exception-ctor-args and throw it. | |
#define | TF_THROW(Exception, TfSkipCallerFrames, Exceptionctorargs...) |
Construct an instance of Exception (which must derive TfBaseException) with Exception-ctor-args and throw it. | |
#define TF_THROW | ( | Exception, | |
Exceptionctorargs... | |||
) |
Construct an instance of Exception (which must derive TfBaseException) with Exception-ctor-args and throw it.
Also capture a portion of this thread's current call stack and the throw point's source filename & line number to embed in the exception. If the exception goes unhandled these will be reported in the crash report that Tf's terminate handler generates, or in the unhandled exception message in the python interpreter.
Definition at line 127 of file exception.h.
#define TF_THROW | ( | Exception, | |
TfSkipCallerFrames, | |||
Exceptionctorargs... | |||
) |
Construct an instance of Exception (which must derive TfBaseException) with Exception-ctor-args and throw it.
Also capture a portion of this thread's current call stack and the throw point's source filename & line number to embed in the exception. If the exception goes unhandled these will be reported in the crash report that Tf's terminate handler generates, or in the unhandled exception message in the python interpreter.
Definition at line 127 of file exception.h.