tbx  0.7.3
Public Member Functions | List of all members
tbx::res::ResGadgetTypeMismatch Class Reference

Exception thrown when a ResObject is assigned to a subclass with the wrong class id. More...

#include <resexcept.h>

Inheritance diagram for tbx::res::ResGadgetTypeMismatch:

Public Member Functions

 ResGadgetTypeMismatch (int type_id, int check_id)
 Construct exception when resource gadget types do not match. More...
 

Detailed Description

Exception thrown when a ResObject is assigned to a subclass with the wrong class id.

Constructor & Destructor Documentation

tbx::res::ResGadgetTypeMismatch::ResGadgetTypeMismatch ( int  type_id,
int  check_id 
)
inline

Construct exception when resource gadget types do not match.

Parameters
type_idToolbox type id of gadget checked
check_idToolbox type id of gadget that was expected

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