ATLAS Offline Software
Public Member Functions | List of all members
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. More...
 

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 }

The documentation for this class was generated from the following files:
SG::excCLIDMismatch_format
std::string excCLIDMismatch_format(CLID obj_clid, CLID link_clid)
Helper: format exception error string.
Definition: Control/AthLinks/src/exceptions.cxx:53
SG::AthLinks_error
void AthLinks_error()
For setting debugger breakpoints.
Definition: Control/AthLinks/src/exceptions.cxx:21