CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
zmex::ZMexThrowErrors Class Reference

#include <ZMexHandler.h>

+ Inheritance diagram for zmex::ZMexThrowErrors:

Public Member Functions

 ZMexThrowErrors ()
 
virtual ZMexThrowErrorsclone () const
 
virtual ZMexAction takeCareOf (const ZMexception &x)
 
- Public Member Functions inherited from zmex::ZMexHandlerBehavior
 ZMexHandlerBehavior (const std::string aname="ZMexHandlerBehavior")
 
virtual ~ZMexHandlerBehavior ()
 
virtual ZMexHandlerBehaviorclone () const
 
virtual std::string name () const
 
virtual ZMexAction takeCareOf (const ZMexception &)
 

Additional Inherited Members

- Protected Member Functions inherited from zmex::ZMexHandlerBehavior
ZMexAction standardHandling (const ZMexception &x, bool willThrow)
 

Detailed Description

Definition at line 147 of file ZMexHandler.h.

Constructor & Destructor Documentation

◆ ZMexThrowErrors()

zmex::ZMexThrowErrors::ZMexThrowErrors ( )
inline

Definition at line 150 of file ZMexHandler.h.

150: ZMexHandlerBehavior( "ZMexThrowErrors" ) { }
ZMexHandlerBehavior(const std::string aname="ZMexHandlerBehavior")
Definition: ZMexHandler.h:66

Member Function Documentation

◆ clone()

virtual ZMexThrowErrors * zmex::ZMexThrowErrors::clone ( ) const
virtual

Reimplemented from zmex::ZMexHandlerBehavior.

◆ takeCareOf()

ZMexAction zmex::ZMexThrowErrors::takeCareOf ( const ZMexception x)
virtual

Reimplemented from zmex::ZMexHandlerBehavior.

Definition at line 69 of file ZMexHandler.cc.

70 {
71 //DEBUG cerr << "ThrowErrors::takeCareOf" << endl;
72 return standardHandling( x, ( x.severity() >= ZMexERROR ) ? true
73 : false
74 );
75}
ZMexAction standardHandling(const ZMexception &x, bool willThrow)
Definition: ZMexHandler.cc:46
@ ZMexERROR
Definition: ZMexSeverity.h:46

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