ATLAS Offline Software
Public Member Functions | List of all members
SG::ExcMissingViewVectorCLID Class Reference

Exception — Missing CLID for ViewVector. More...

#include <exceptions.h>

Inheritance diagram for SG::ExcMissingViewVectorCLID:
Collaboration diagram for SG::ExcMissingViewVectorCLID:

Public Member Functions

 ExcMissingViewVectorCLID (const std::type_info &ti)
 Constructor. More...
 

Detailed Description

Exception — Missing CLID for ViewVector.

A ViewVector was used in a context that requires a CLID, but no CLID was available. Make sure a VIEWVECTOR_CLASS_DEF declaration exists for the class in a library that has been loaded.

Definition at line 308 of file Control/AthContainers/AthContainers/exceptions.h.

Constructor & Destructor Documentation

◆ ExcMissingViewVectorCLID()

SG::ExcMissingViewVectorCLID::ExcMissingViewVectorCLID ( const std::type_info &  ti)

Constructor.

Parameters
titype_info for the class with the missing CLID.

Definition at line 412 of file Control/AthContainers/Root/exceptions.cxx.

413  : std::runtime_error ("ViewVector " + AthContainers_detail::typeinfoName(ti) +
414  "was used in a context that requires a CLID, "
415  "but no CLID was available. Make sure a "
416  "VIEWVECTOR_CLASS_DEF declaration exists for the class "
417  "in a library that has been loaded.")
418 {
419 }

The documentation for this class was generated from the following files:
Athena::typeinfoName
std::string typeinfoName(const std::type_info &ti)
Convert a type_info to a demangled string.
Definition: AthenaKernel/src/ClassName.cxx:23