Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Error Class Reference

#include <JETSCAPE/blob/main/external_packages/fjcore.hh>

+ Inheritance diagram for Error:
+ Collaboration diagram for Error:

Public Member Functions

 Error ()
 
 Error (const std::string &message)
 
virtual ~Error ()
 
std::string message () const
 

Static Public Member Functions

static void set_print_errors (bool print_errors)
 
static void set_print_backtrace (bool enabled)
 
static void set_default_stream (std::ostream *ostr)
 

Private Attributes

std::string _message
 error message
 

Static Private Attributes

static bool _print_errors = true
 do we print anything?
 
static bool _print_backtrace = false
 do we print the backtrace?
 
static std::ostream * _default_ostr = & cerr
 the output stream (cerr if not set)
 
static LimitedWarning _execinfo_undefined
 

Detailed Description

Definition at line 448 of file fjcore.hh.

View newest version in sPHENIX GitHub at line 448 of file fjcore.hh

Constructor & Destructor Documentation

Error::Error ( )
inline

Definition at line 450 of file fjcore.hh.

View newest version in sPHENIX GitHub at line 450 of file fjcore.hh

Error::Error ( const std::string &  message)

Definition at line 3325 of file fjcore.cc.

View newest version in sPHENIX GitHub at line 3325 of file fjcore.cc

virtual Error::~Error ( )
inlinevirtual

Definition at line 452 of file fjcore.hh.

View newest version in sPHENIX GitHub at line 452 of file fjcore.hh

Member Function Documentation

std::string Error::message ( ) const
inline

Definition at line 453 of file fjcore.hh.

View newest version in sPHENIX GitHub at line 453 of file fjcore.hh

References _message.

static void Error::set_default_stream ( std::ostream *  ostr)
inlinestatic

Definition at line 456 of file fjcore.hh.

View newest version in sPHENIX GitHub at line 456 of file fjcore.hh

References _default_ostr.

void Error::set_print_backtrace ( bool  enabled)
static

Definition at line 3334 of file fjcore.cc.

View newest version in sPHENIX GitHub at line 3334 of file fjcore.cc

static void Error::set_print_errors ( bool  print_errors)
inlinestatic

Definition at line 454 of file fjcore.hh.

View newest version in sPHENIX GitHub at line 454 of file fjcore.hh

References _print_errors.

Member Data Documentation

ostream * Error::_default_ostr = & cerr
staticprivate

the output stream (cerr if not set)

Definition at line 463 of file fjcore.hh.

View newest version in sPHENIX GitHub at line 463 of file fjcore.hh

Referenced by set_default_stream().

LimitedWarning Error::_execinfo_undefined
staticprivate

Definition at line 465 of file fjcore.hh.

View newest version in sPHENIX GitHub at line 465 of file fjcore.hh

std::string Error::_message
private

error message

Definition at line 460 of file fjcore.hh.

View newest version in sPHENIX GitHub at line 460 of file fjcore.hh

Referenced by message().

bool Error::_print_backtrace = false
staticprivate

do we print the backtrace?

Definition at line 462 of file fjcore.hh.

View newest version in sPHENIX GitHub at line 462 of file fjcore.hh

bool Error::_print_errors = true
staticprivate

do we print anything?

Definition at line 461 of file fjcore.hh.

View newest version in sPHENIX GitHub at line 461 of file fjcore.hh

Referenced by set_print_errors().


The documentation for this class was generated from the following files: