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

Exception — Attempted to do OP on a BASE base class of COMPLETE; can only be done on the most-derived class. More...

#include <exceptions.h>

Inheritance diagram for SG::ExcInsertionInBaseClass:
Collaboration diagram for SG::ExcInsertionInBaseClass:

Public Member Functions

 ExcInsertionInBaseClass (const char *op, const std::type_info &base_type, const std::type_info &complete_type)
 Constructor. More...
 

Detailed Description

Exception — Attempted to do OP on a BASE base class of COMPLETE; can only be done on the most-derived class.

Thrown when there's a mismatch between the type requested for an aux data item and a type previously requested for the same item.

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

Constructor & Destructor Documentation

◆ ExcInsertionInBaseClass()

SG::ExcInsertionInBaseClass::ExcInsertionInBaseClass ( const char *  op,
const std::type_info &  base_type,
const std::type_info &  complete_type 
)

Constructor.

Parameters
opThe attempted operation.
base_typeThe type on which the operation was attempted.
complete_typeThe most-derived type of the object.

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

240  : std::runtime_error (excInsertionInBaseClass_format (op,
241  base_type,
242  complete_type))
243 {
244 }

The documentation for this class was generated from the following files:
SG::excInsertionInBaseClass_format
std::string excInsertionInBaseClass_format(const char *op, const std::type_info &base_type, const std::type_info &complete_type)
Helper: format exception error string.
Definition: Control/AthContainers/Root/exceptions.cxx:216