ATLAS Offline Software
Loading...
Searching...
No Matches
SG::ExcCLIDMismatch Class Reference

Exception — Attempt to set DataLink / ElementLink with CLID <clid> to object with CLID <clid>. More...

#include <exceptions.h>

Inheritance diagram for SG::ExcCLIDMismatch:
Collaboration diagram for SG::ExcCLIDMismatch:

Public Member Functions

 ExcCLIDMismatch (CLID obj_clid, CLID link_clid)
 Constructor.

Detailed Description

Exception — Attempt to set DataLink / ElementLink with CLID <clid> to object with CLID <clid>.

The object being assigned to a link doesn't match the link's declared type. It should not be possible to do this through the link's public interfaces, but it could occur reading a corrupt input file.

Definition at line 57 of file Control/AthLinks/AthLinks/exceptions.h.

Constructor & Destructor Documentation

◆ ExcCLIDMismatch()

SG::ExcCLIDMismatch::ExcCLIDMismatch ( CLID obj_clid,
CLID link_clid )

Constructor.

Parameters
obj_clidThe CLID of the object being assigned to the link.
link_clidThe declared CLID of the link.

Definition at line 68 of file Control/AthLinks/src/exceptions.cxx.

69 : std::runtime_error (excCLIDMismatch_format (obj_clid, link_clid))
70{
72}
std::string excCLIDMismatch_format(CLID obj_clid, CLID link_clid)
Helper: format exception error string.
void AthLinks_error()
For setting debugger breakpoints.

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