ThePEG 2.3.0
|
Exception class used to inform about inability to work with some weighted event files. More...
#include <MadGraphReader.h>
Additional Inherited Members | |
Public Types inherited from ThePEG::Exception | |
enum | Severity { unknown , info , warning , setuperror , eventerror , runerror , maybeabort , abortnow } |
The levels of severity. More... | |
Public Member Functions inherited from ThePEG::Exception | |
Exception (const string &str, Severity sev) | |
Standard constructor. | |
Exception () | |
Default constructor. | |
Exception (const Exception &ex) | |
The copy constructor. | |
virtual | ~Exception () noexcept |
The destructor. | |
const Exception & | operator= (const Exception &ex) |
Assignment. | |
bool | operator== (const Exception &ex) const |
Comparison. | |
bool | operator< (const Exception &ex) const |
Compare severity. | |
virtual const char * | what () const noexcept |
Return the error message. | |
string | message () const |
Return the error message. | |
void | writeMessage (ostream &os= *errstream) const |
Write the error message to a stream. | |
Severity | severity () const |
Return the severity. | |
void | handle () const |
Indicate that this exception has been taken care of. | |
template<typename T > | |
Exception & | operator<< (const T &t) |
Add info to the exception message. | |
Exception & | operator<< (Severity sev) |
Set the severity for the exception. | |
Static Public Attributes inherited from ThePEG::Exception | |
static bool | noabort |
If this flag is set, all abortnow and maybeabort severities will be treated as runerror. | |
Protected Member Functions inherited from ThePEG::Exception | |
void | severity (Severity) |
set the severity. | |
Protected Attributes inherited from ThePEG::Exception | |
ostringstream | theMessage |
Stream to write the error message to. | |
Exception class used to inform about inability to work with some weighted event files.
Definition at line 201 of file MadGraphReader.h.