1 #ifndef GAUDIALG_ERRORTOOL_H 2 #define GAUDIALG_ERRORTOOL_H 1 57 const size_t mx = 10 )
const override 73 const size_t mx = 10 )
const override 149 #endif // GAUDIALG_ERRORTOOL_H constexpr static const auto FAILURE
MsgStream & msg() const
shortcut for the method msgStream(MSG::INFO)
Define general base for Gaudi exception.
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
WARN_UNUSED StatusCode Print(const std::string &msg, const StatusCode st=StatusCode::SUCCESS, const MSG::Level lev=MSG::INFO) const
Print the message and return with the given StatusCode.
constexpr static const auto SUCCESS
void Assert(const bool ok, const std::string &message="", const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const
Assertion - throw exception if the given condition is not fulfilled.
void Exception(const std::string &msg, const GaudiException &exc, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const
Create and (re)-throw a given GaudiException.