ATLAS Offline Software
Loading...
Searching...
No Matches
error.h File Reference

Helper for emitting error messages. More...

#include "AthenaKernel/errorcheck.h"
#include "GaudiKernel/System.h"
Include dependency graph for error.h:

Go to the source code of this file.

Namespaces

namespace  AthContainers_detail

Macros

#define ATHCONTAINERS_ERROR(ctx, msg)
#define ATHCONTAINERS_WARNING(ctx, msg)

Detailed Description

Helper for emitting error messages.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Sep, 2013

This defines the macros ATHCONTAINER_ERROR and ATHCONTAINER_WARNING, which emit an diagnostics through the message service if we're built for Athena and print them directly if we're built standalone.

We also define AthContainers_detail::typeinfoName.

Definition in file error.h.

Macro Definition Documentation

◆ ATHCONTAINERS_ERROR

#define ATHCONTAINERS_ERROR ( ctx,
msg )
Value:
errorcheck::ReportMessage(MSG::ERROR, __LINE__, __FILE__, "", ATLAS_PACKAGE_NAME, ctx).msgstream() << msg
Helper class to use to report a message.
MsgStream & msgstream()
Convert to a MsgStream reference.
MsgStream & msg
Definition testRead.cxx:32

Definition at line 54 of file error.h.

54#define ATHCONTAINERS_ERROR(ctx, msg) \
55 errorcheck::ReportMessage(MSG::ERROR, __LINE__, __FILE__, "", ATLAS_PACKAGE_NAME, ctx).msgstream() << msg

◆ ATHCONTAINERS_WARNING

#define ATHCONTAINERS_WARNING ( ctx,
msg )
Value:
errorcheck::ReportMessage(MSG::WARNING, __LINE__, __FILE__, "", ATLAS_PACKAGE_NAME, ctx).msgstream() << msg

Definition at line 57 of file error.h.

57#define ATHCONTAINERS_WARNING(ctx, msg) \
58 errorcheck::ReportMessage(MSG::WARNING, __LINE__, __FILE__, "", ATLAS_PACKAGE_NAME, ctx).msgstream() << msg