CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
|
#include <ZMexception.h>
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, const std::string) 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 | icount = ZMexception::_classInfo.nextCount() |
||
) |
|
explicit |
Definition at line 199 of file ZMexception.cc.
|
inlinevirtual |
Definition at line 216 of file ZMexception.h.
|
inlinevirtual |
Definition at line 443 of file ZMexception.h.
Referenced by facility(), handleMe(), logMe(), logMessage(), and name().
|
inlinevirtual |
Definition at line 439 of file ZMexception.h.
Referenced by zmex::ZMerrnoList::write().
int zmex::ZMexception::count | ( | ) | const |
Referenced by logMessage().
|
virtual |
Definition at line 95 of file ZMexception.cc.
Referenced by logMessage().
std::string zmex::ZMexception::fileName | ( | ) | const |
Referenced by logMessage().
|
inlinevirtual |
Definition at line 447 of file ZMexception.h.
Referenced by zmex::ZMthrow_().
std::string zmex::ZMexception::handlerUsed | ( | ) | const |
Referenced by display(), and zmex::ZMexHandlerBehavior::standardHandling().
void zmex::ZMexception::handlerUsed | ( | const std::string | handlerName | ) | const |
|
inlinevirtual |
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_().
|
inlinevirtual |
Definition at line 452 of file ZMexception.h.
Referenced by zmex::ZMexHandlerBehavior::standardHandling().
|
virtual |
Definition at line 122 of file ZMexception.cc.
Referenced by zmex::ZMexLogAlways::emit(), zmex::ZMexLogTwice::emit(), and zmex::ZMexValidationStyle::emit().
|
inlinevirtual |
Definition at line 464 of file ZMexception.h.
Referenced by zmex::ZMexLogAlways::emit(), zmex::ZMexLogTwice::emit(), and zmex::ZMexValidationStyle::emit().
std::string zmex::ZMexception::message | ( | ) | const |
Referenced by display(), logMessage(), and main().
|
virtual |
Definition at line 106 of file ZMexception.cc.
Referenced by display(), logMessage(), main(), and zmex::ZMerrnoList::name().
bool zmex::ZMexception::OKtoLog | ( | ) | const |
Referenced by zmex::ZMexHandlerBehavior::standardHandling().
ZMexSeverity zmex::ZMexception::severity | ( | ) | const |
bool zmex::ZMexception::wasThrown | ( | ) | const |
Referenced by display(), logMessage(), and zmex::ZMexHandlerBehavior::standardHandling().
void zmex::ZMexception::wasThrown | ( | bool | b | ) | const |
|
staticprotected |
Definition at line 166 of file ZMexception.h.
Referenced by classInfo().
|
mutableprotected |
Definition at line 190 of file ZMexception.h.
|
mutableprotected |
Definition at line 177 of file ZMexception.h.
|
protected |
Definition at line 169 of file ZMexception.h.
|
protected |
Definition at line 186 of file ZMexception.h.
|
protected |
Definition at line 185 of file ZMexception.h.
|
mutableprotected |
Definition at line 181 of file ZMexception.h.
|
mutableprotected |
Definition at line 194 of file ZMexception.h.
zmex::ZMexception::ZMexClassStaticMethods |
Definition at line 435 of file ZMexception.h.