tbx  0.7.6
Public Member Functions | List of all members
tbx::res::ResObjectClassMismatch 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::ResObjectClassMismatch:

Public Member Functions

 ResObjectClassMismatch (std::string object, int class_id, int check_id)
 Construct a resource object mismatch exception. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ResObjectClassMismatch()

tbx::res::ResObjectClassMismatch::ResObjectClassMismatch ( std::string  object,
int  class_id,
int  check_id 
)
inline

Construct a resource object mismatch exception.

Parameters
objectname of object
class_idToolbox class ID of object checked
check_idToolbox class ID that was expected

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