thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
ThePEG::XSecCheck::UnexpectedXSec Struct Reference

The exception class used if the target cross section was not met. More...

#include <XSecCheck.h>

Inheritance diagram for ThePEG::XSecCheck::UnexpectedXSec:

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 Exceptionoperator= (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 >
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

The exception class used if the target cross section was not met.

Definition at line 35 of file XSecCheck.h.


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