SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Member Functions | List of all members
smtk::resource::query::BadTypeError Class Reference

An exception to throw when a type is requested that does not exist in a container. More...

#include <BadTypeError.h>

Inheritance diagram for smtk::resource::query::BadTypeError:
[legend]
Collaboration diagram for smtk::resource::query::BadTypeError:
[legend]

Public Member Functions

 BadTypeError (const std::string &typeName)
 

Detailed Description

An exception to throw when a type is requested that does not exist in a container.

SMTK's query system uses types to index into maps and retrieve instances of that type. Much like how a map throws an exception when a key is not present in the map, this exception is thrown when a type is not present in a container.


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