|
| CTCLException (CTCLInterpreter &am_rInterpreter, TCLPLUS::Int_t am_nReason, const char *pString) |
|
| CTCLException (CTCLInterpreter &am_rInterpreter, TCLPLUS::Int_t am_nReason, const std::string &rString) |
|
| CTCLException (const CTCLException &aCTCLException) |
|
CTCLException | operator= (const CTCLException &aCTCLException) |
|
int | operator== (const CTCLException &aCTCLException) |
|
TCLPLUS::Int_t | getReason () const |
|
std::string | getTraceback () |
|
void | AddErrorInfo (const char *pMessage) |
|
void | AddErrorInfo (const std::string &rMessage) |
|
void | AddErrorInfo (const CTCLString &rMessage) |
|
void | SetErrorCode (const char *pMessage, const char *pMnemonic="???", const char *pFacility="TCL", const char *pSeverity="FATAL") |
|
void | SetErrorCode (const std::string rMessage, const std::string &rMnemonic=std::string("???"), const std::string &rFacility=std::string("TCL"), const std::string &rSeverity=std::string("FATAL")) |
|
virtual const char * | ReasonText () const |
|
virtual TCLPLUS::Int_t | ReasonCode () const |
|
| CTCLInterpreterObject (CTCLInterpreter *pInterp) |
|
| CTCLInterpreterObject (const CTCLInterpreterObject &aCTCLInterpreterObject) |
|
CTCLInterpreterObject & | operator= (const CTCLInterpreterObject &aCTCLInterpreterObject) |
|
int | operator== (const CTCLInterpreterObject &aCTCLInterpreterObject) const |
|
CTCLInterpreter * | getInterpreter () const |
|
CTCLInterpreter * | Bind (CTCLInterpreter &rBinding) |
|
CTCLInterpreter * | Bind (CTCLInterpreter *pBinding) |
|
| CException (const char *pszAction) |
|
| CException (const std::string &rsAction) |
|
| CException (const CException &aCException) |
|
CException & | operator= (const CException &aCException) |
|
int | operator== (const CException &aCException) const |
|
int | operator!= (const CException &rException) const |
|
const char * | getAction () const |
|
const char * | WasDoing () const |
|
|
void | setInterpreter (CTCLInterpreter &am_rInterpreter) |
|
void | setReason (TCLPLUS::Int_t am_nReason) |
|
CTCLInterpreter * | AssertIfNotBound () |
|
void | setAction (const char *pszAction) |
|
void | setAction (const std::string &rsAction) |
|
virtual void | DoAssign (const CException &rhs) |
|
◆ getTraceback() [1/2]
string CTCLException::getTraceback |
( |
| ) |
|
Return the command traceback from the global variable errorInfo.
- Returns
- std::string
- Return values
-
the | contents of the global variable errorInfo converted to a string. |
◆ getTraceback() [2/2]
Return the command traceback given an interpreter (static).
- Parameters
-
interp | - Reference to the interpreter we're fetching error info for. |
- Returns
- std::string
- Return values
-
the | contents of the global variable errorInfo converted to a string. |
The documentation for this class was generated from the following files:
- libtclplus/include/tclplus/TCLException.h
- libtclplus/tclplus/TCLException.cpp