CLHEP 2.0.4.7 Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <ZMexception.h>
Public Member Functions | |
ZMexception (const std::string &mesg, const ZMexSeverity howBad=ZMexSEVERITYenumLAST, int count=ZMexception::_classInfo.nextCount()) | |
ZMexception (const std::ostringstream &msg, const ZMexSeverity howBad=ZMexSEVERITYenumLAST, int count=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 name, const std::string facility) const |
virtual void | logObject () const |
Public Attributes | |
ZMexClassStaticMethods | |
Protected Attributes | |
const std::string | message_ |
int | line_ |
std::string | sourceFileName_ |
const ZMexSeverity | mySeverity_ |
const int | myCount_ |
std::string | handlerUsed_ |
bool | wasThrown_ |
Static Protected Attributes | |
static ZMexClassInfo | _classInfo |
Definition at line 163 of file ZMexception.h.
zmex::ZMexception::ZMexception | ( | const std::string & | mesg, | |
const ZMexSeverity | howBad = ZMexSEVERITYenumLAST , |
|||
int | count = ZMexception::_classInfo.nextCount() | |||
) |
Referenced by clone().
zmex::ZMexception::ZMexception | ( | const std::ostringstream & | msg, | |
const ZMexSeverity | howBad = ZMexSEVERITYenumLAST , |
|||
int | count = ZMexception::_classInfo.nextCount() | |||
) | [explicit] |
Definition at line 197 of file ZMexception.cc.
virtual zmex::ZMexception::~ZMexception | ( | ) | [inline, virtual] |
Definition at line 216 of file ZMexception.h.
virtual zmex::ZMexClassInfo& zmex::ZMexception::classInfo | ( | ) | const [inline, virtual] |
Definition at line 443 of file ZMexception.h.
References _classInfo.
Referenced by facility(), handleMe(), logMe(), logMessage(), and name().
virtual ZMexception* zmex::ZMexception::clone | ( | ) | const [inline, virtual] |
Definition at line 439 of file ZMexception.h.
References ZMexception().
Referenced by zmex::ZMerrnoList::write().
int zmex::ZMexception::count | ( | ) | const |
Referenced by logMessage().
std::string zmex::ZMexception::facility | ( | ) | const [virtual] |
Definition at line 93 of file ZMexception.cc.
References classInfo(), and zmex::ZMexClassInfo::facility().
Referenced by logMessage().
std::string zmex::ZMexception::fileName | ( | ) | const |
Referenced by logMessage().
virtual ZMexAction zmex::ZMexception::handleMe | ( | ) | const [inline, virtual] |
Definition at line 447 of file ZMexception.h.
References classInfo(), zmex::ZMexClassInfo::getHandler(), and zmex::ZMexHandler::takeCareOf().
Referenced by zmex::ZMthrow_().
void zmex::ZMexception::handlerUsed | ( | const std::string | handlerName | ) | const |
std::string zmex::ZMexception::handlerUsed | ( | ) | const |
Referenced by display(), and zmex::ZMexHandlerBehavior::standardHandling().
virtual bool zmex::ZMexception::isDerivedFrom | ( | const std::string | name, | |
const std::string | facility | |||
) | const [inline, virtual] |
Definition at line 457 of file ZMexception.h.
int zmex::ZMexception::line | ( | ) | const |
Referenced by logMessage().
void zmex::ZMexception::location | ( | int | line, | |
const std::string | file | |||
) | const |
Referenced by zmex::ZMthrow_().
virtual ZMexLogResult zmex::ZMexception::logMe | ( | ) | const [inline, virtual] |
Definition at line 452 of file ZMexception.h.
References classInfo(), zmex::ZMexLogger::emit(), and zmex::ZMexClassInfo::getLogger().
Referenced by zmex::ZMexHandlerBehavior::standardHandling().
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::ZMexValidationStyle::emit(), zmex::ZMexLogTwice::emit(), and zmex::ZMexLogAlways::emit().
virtual void zmex::ZMexception::logObject | ( | ) | const [inline, virtual] |
Definition at line 464 of file ZMexception.h.
Referenced by zmex::ZMexValidationStyle::emit(), zmex::ZMexLogTwice::emit(), and zmex::ZMexLogAlways::emit().
std::string zmex::ZMexception::message | ( | ) | const |
Referenced by display(), logMessage(), and main().
std::string zmex::ZMexception::name | ( | ) | const [virtual] |
Definition at line 104 of file ZMexception.cc.
References classInfo(), and zmex::ZMexClassInfo::name().
Referenced by display(), logMessage(), main(), and zmex::ZMerrnoList::name().
bool zmex::ZMexception::OKtoLog | ( | ) | const |
Referenced by zmex::ZMexHandlerBehavior::standardHandling().
ZMexSeverity zmex::ZMexception::severity | ( | ) | const |
void zmex::ZMexception::wasThrown | ( | bool | b | ) | const |
bool zmex::ZMexception::wasThrown | ( | ) | const |
Referenced by display(), logMessage(), and zmex::ZMexHandlerBehavior::standardHandling().
ZMexClassInfo zmex::ZMexception::_classInfo [static, protected] |
std::string zmex::ZMexception::handlerUsed_ [mutable, protected] |
Definition at line 190 of file ZMexception.h.
int zmex::ZMexception::line_ [mutable, protected] |
Definition at line 177 of file ZMexception.h.
const std::string zmex::ZMexception::message_ [protected] |
Definition at line 169 of file ZMexception.h.
const int zmex::ZMexception::myCount_ [protected] |
Definition at line 186 of file ZMexception.h.
const ZMexSeverity zmex::ZMexception::mySeverity_ [protected] |
Definition at line 185 of file ZMexception.h.
std::string zmex::ZMexception::sourceFileName_ [mutable, protected] |
Definition at line 181 of file ZMexception.h.
bool zmex::ZMexception::wasThrown_ [mutable, protected] |
Definition at line 194 of file ZMexception.h.
Definition at line 435 of file ZMexception.h.