ATLAS Offline Software
Namespaces | Macros
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

 AthContainers_detail
 

Macros

#define ATHCONTAINERS_ERROR(ctx, msg)   errorcheck::ReportMessage(MSG::ERROR, __LINE__, __FILE__, "", ATLAS_PACKAGE_NAME, ctx).msgstream() << msg
 
#define ATHCONTAINERS_WARNING(ctx, msg)   errorcheck::ReportMessage(MSG::WARNING, __LINE__, __FILE__, "", ATLAS_PACKAGE_NAME, ctx).msgstream() << 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 
)    errorcheck::ReportMessage(MSG::ERROR, __LINE__, __FILE__, "", ATLAS_PACKAGE_NAME, ctx).msgstream() << msg

Definition at line 55 of file error.h.

◆ ATHCONTAINERS_WARNING

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

Definition at line 58 of file error.h.