thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
ThePEG::Decayer::DecayFailure Struct Reference

Exception class used if something goes wrong in DecayParticle(). More...

#include <Decayer.h>

Inheritance diagram for ThePEG::Decayer::DecayFailure:

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. More...
 
 Exception ()
 Default constructor.
 
 Exception (const Exception &ex)
 The copy constructor.
 
virtual ~Exception () noexcept
 The destructor.
 
const Exceptionoperator= (const Exception &ex)
 Assignment.
 
bool operator== (const Exception &ex) const
 Comparison.
 
bool operator< (const Exception &ex) const
 Compare severity. More...
 
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 >
Exceptionoperator<< (const T &t)
 Add info to the exception message.
 
Exceptionoperator<< (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.
 

Detailed Description

Exception class used if something goes wrong in DecayParticle().

Definition at line 142 of file Decayer.h.


The documentation for this struct was generated from the following file: