FRIBParallelanalysis  1.0
FrameworkforMPIParalleldataanalysisatFRIB
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
CTCLException Class Reference
Inheritance diagram for CTCLException:
Inheritance graph
[legend]
Collaboration diagram for CTCLException:
Collaboration graph
[legend]

Public Member Functions

 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
 
- Public Member Functions inherited from CTCLInterpreterObject
 CTCLInterpreterObject (CTCLInterpreter *pInterp)
 
 CTCLInterpreterObject (const CTCLInterpreterObject &aCTCLInterpreterObject)
 
CTCLInterpreterObjectoperator= (const CTCLInterpreterObject &aCTCLInterpreterObject)
 
int operator== (const CTCLInterpreterObject &aCTCLInterpreterObject) const
 
CTCLInterpretergetInterpreter () const
 
CTCLInterpreterBind (CTCLInterpreter &rBinding)
 
CTCLInterpreterBind (CTCLInterpreter *pBinding)
 
- Public Member Functions inherited from CException
 CException (const char *pszAction)
 
 CException (const std::string &rsAction)
 
 CException (const CException &aCException)
 
CExceptionoperator= (const CException &aCException)
 
int operator== (const CException &aCException) const
 
int operator!= (const CException &rException) const
 
const char * getAction () const
 
const char * WasDoing () const
 

Static Public Member Functions

static std::string getTraceback (CTCLInterpreter &interp)
 

Protected Member Functions

void setInterpreter (CTCLInterpreter &am_rInterpreter)
 
void setReason (TCLPLUS::Int_t am_nReason)
 
- Protected Member Functions inherited from CTCLInterpreterObject
CTCLInterpreterAssertIfNotBound ()
 
- Protected Member Functions inherited from CException
void setAction (const char *pszAction)
 
void setAction (const std::string &rsAction)
 
virtual void DoAssign (const CException &rhs)
 

Member Function Documentation

◆ getTraceback() [1/2]

string CTCLException::getTraceback ( )

Return the command traceback from the global variable errorInfo.

Returns
std::string
Return values
thecontents of the global variable errorInfo converted to a string.

◆ getTraceback() [2/2]

string CTCLException::getTraceback ( CTCLInterpreter interp)
static

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
thecontents of the global variable errorInfo converted to a string.

The documentation for this class was generated from the following files: