#include <ZMexception.h>
List of all members.
Public Member Functions |
| | ZMexception (const std::string &mesg, const ZMexSeverity howBad=ZMexSEVERITYenumLAST, int icount=ZMexception::_classInfo.nextCount()) |
| | ZMexception (const std::ostringstream &msg, const ZMexSeverity howBad=ZMexSEVERITYenumLAST, int icount=ZMexception::_classInfo.nextCount()) |
| virtual | ~ZMexception () |
| void | location (int line, const std::string file) const |
| ZMexSeverity | severity () const |
| int | line () const |
| std::string | fileName () const |
| std::string | message () const |
| int | count () const |
| std::string | handlerUsed () const |
| bool | wasThrown () const |
| void | handlerUsed (const std::string handlerName) const |
| void | wasThrown (bool b) const |
| virtual std::string | logMessage (const std::string optText="") const |
| virtual std::string | facility () const |
| virtual std::string | name () const |
| bool | OKtoLog () const |
| virtual ZMexception * | clone () const |
| virtual zmex::ZMexClassInfo & | classInfo () const |
| virtual ZMexAction | handleMe () const |
| virtual ZMexLogResult | logMe () const |
| virtual bool | isDerivedFrom (const std::string aname, const std::string afacility) const |
| virtual void | logObject () const |
| | ZMexception (const std::string &mesg, const ZMexSeverity howBad=ZMexSEVERITYenumLAST, int icount=ZMexception::_classInfo.nextCount()) |
| | ZMexception (const std::ostringstream &msg, const ZMexSeverity howBad=ZMexSEVERITYenumLAST, int icount=ZMexception::_classInfo.nextCount()) |
| virtual | ~ZMexception () |
| void | location (int line, const std::string file) const |
| ZMexSeverity | severity () const |
| int | line () const |
| std::string | fileName () const |
| std::string | message () const |
| int | count () const |
| std::string | handlerUsed () const |
| bool | wasThrown () const |
| void | handlerUsed (const std::string handlerName) const |
| void | wasThrown (bool b) const |
| virtual std::string | logMessage (const std::string optText="") const |
| virtual std::string | facility () const |
| virtual std::string | name () const |
| bool | OKtoLog () const |
| virtual ZMexception * | clone () const |
| virtual zmex::ZMexClassInfo & | classInfo () const |
| virtual ZMexAction | handleMe () const |
| virtual ZMexLogResult | logMe () const |
| virtual bool | isDerivedFrom (const std::string aname, const std::string afacility) const |
| virtual void | logObject () const |
Detailed Description
Constructor & Destructor Documentation
| zmex::ZMexception::ZMexception |
( |
const std::ostringstream & |
msg, |
|
|
const ZMexSeverity |
howBad = ZMexSEVERITYenumLAST, |
|
|
int |
icount = ZMexception::_classInfo.nextCount() |
|
) |
| |
|
explicit |
| virtual zmex::ZMexception::~ZMexception |
( |
| ) |
|
|
inlinevirtual |
| zmex::ZMexception::ZMexception |
( |
const std::ostringstream & |
msg, |
|
|
const ZMexSeverity |
howBad = ZMexSEVERITYenumLAST, |
|
|
int |
icount = ZMexception::_classInfo.nextCount() |
|
) |
| |
|
explicit |
| virtual zmex::ZMexception::~ZMexception |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
| virtual ZMexception* zmex::ZMexception::clone |
( |
| ) |
const |
|
inlinevirtual |
| virtual ZMexception* zmex::ZMexception::clone |
( |
| ) |
const |
|
inlinevirtual |
| int zmex::ZMexception::count |
( |
| ) |
const |
| int zmex::ZMexception::count |
( |
| ) |
const |
| virtual std::string zmex::ZMexception::facility |
( |
| ) |
const |
|
virtual |
| std::string zmex::ZMexception::facility |
( |
| ) |
const |
|
virtual |
| std::string zmex::ZMexception::fileName |
( |
| ) |
const |
| std::string zmex::ZMexception::fileName |
( |
| ) |
const |
| virtual ZMexAction zmex::ZMexception::handleMe |
( |
| ) |
const |
|
inlinevirtual |
| virtual ZMexAction zmex::ZMexception::handleMe |
( |
| ) |
const |
|
inlinevirtual |
| std::string zmex::ZMexception::handlerUsed |
( |
| ) |
const |
| std::string zmex::ZMexception::handlerUsed |
( |
| ) |
const |
| void zmex::ZMexception::handlerUsed |
( |
const std::string |
handlerName | ) |
const |
| void zmex::ZMexception::handlerUsed |
( |
const std::string |
handlerName | ) |
const |
| virtual bool zmex::ZMexception::isDerivedFrom |
( |
const std::string |
aname, |
|
|
const std::string |
afacility |
|
) |
| const |
|
inlinevirtual |
| virtual bool zmex::ZMexception::isDerivedFrom |
( |
const std::string |
aname, |
|
|
const std::string |
afacility |
|
) |
| const |
|
inlinevirtual |
| int zmex::ZMexception::line |
( |
| ) |
const |
| int zmex::ZMexception::line |
( |
| ) |
const |
| void zmex::ZMexception::location |
( |
int |
line, |
|
|
const std::string |
file |
|
) |
| const |
| void zmex::ZMexception::location |
( |
int |
line, |
|
|
const std::string |
file |
|
) |
| const |
| std::string zmex::ZMexception::logMessage |
( |
const std::string |
optText = "" | ) |
const |
|
virtual |
Definition at line 120 of file ZMexception.cc.
References classInfo(), zmex::ZMexLogger::control(), count(), facility(), fileName(), zmex::ZMexLogBehavior::isFilePathDesired(), zmex::ZMexLogBehavior::isTimeDesired(), line(), message(), name(), NEXT, severity(), wasThrown(), zmex::ZMexSeverityLetter, zmex::ZMexSeverityLimit, zmex::ZMexUserActivity, and zmex::ZMexUserNumericalTag.
Referenced by zmex::ZMexLogAlways::emit(), zmex::ZMexLogTwice::emit(), and zmex::ZMexValidationStyle::emit().
| virtual std::string zmex::ZMexception::logMessage |
( |
const std::string |
optText = "" | ) |
const |
|
virtual |
| virtual void zmex::ZMexception::logObject |
( |
| ) |
const |
|
inlinevirtual |
| virtual void zmex::ZMexception::logObject |
( |
| ) |
const |
|
inlinevirtual |
| std::string zmex::ZMexception::message |
( |
| ) |
const |
| std::string zmex::ZMexception::message |
( |
| ) |
const |
| virtual std::string zmex::ZMexception::name |
( |
| ) |
const |
|
virtual |
| std::string zmex::ZMexception::name |
( |
| ) |
const |
|
virtual |
| bool zmex::ZMexception::OKtoLog |
( |
| ) |
const |
| bool zmex::ZMexception::OKtoLog |
( |
| ) |
const |
| bool zmex::ZMexception::wasThrown |
( |
| ) |
const |
| bool zmex::ZMexception::wasThrown |
( |
| ) |
const |
| void zmex::ZMexception::wasThrown |
( |
bool |
b | ) |
const |
| void zmex::ZMexception::wasThrown |
( |
bool |
b | ) |
const |
Member Data Documentation
| std::string zmex::ZMexception::handlerUsed_ |
|
mutableprotected |
| int zmex::ZMexception::line_ |
|
mutableprotected |
| const std::string zmex::ZMexception::message_ |
|
protected |
| const int zmex::ZMexception::myCount_ |
|
protected |
| std::string zmex::ZMexception::sourceFileName_ |
|
mutableprotected |
| bool zmex::ZMexception::wasThrown_ |
|
mutableprotected |
| zmex::ZMexception::ZMexClassStaticMethods |
The documentation for this class was generated from the following files: