Simple Dynamic Loader Library Documentation (v. 1.1.0)
Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

sdl::TypeMismatch Class Reference

type mismatch exception. More...

#include <sdl.h>

Inheritance diagram for sdl::TypeMismatch:

sdl::Exception List of all members.

Public Member Functions

 TypeMismatch () throw ()
 default constructor.
 TypeMismatch (member_typeid_t a, member_typeid_t e) throw ()
 constructs an exception with the given error message.
 TypeMismatch (member_typeid_t a, member_typeid_t e1, member_typeid_t e2) throw ()
 constructs an exception with the given error message.
 TypeMismatch (member_typeid_t a, member_typeid_t e1, member_typeid_t e2, member_typeid_t e3) throw ()
 constructs an exception with the given error message.
 TypeMismatch (const string &m) throw ()
 constructs an exception with the given error message.

Detailed Description

type mismatch exception.

This exception is thrown when a member function or data member of a dynamically-loaded class is used as/with the wrong function/data type.


Constructor & Destructor Documentation

sdl::TypeMismatch::TypeMismatch member_typeid_t  a,
member_typeid_t  e
throw ()
 

constructs an exception with the given error message.

Parameters:
a actual (bad) type
e expected type

sdl::TypeMismatch::TypeMismatch member_typeid_t  a,
member_typeid_t  e1,
member_typeid_t  e2
throw ()
 

constructs an exception with the given error message.

Parameters:
a actual (bad) type
e1 expected type
e2 alternative compatible type

sdl::TypeMismatch::TypeMismatch member_typeid_t  a,
member_typeid_t  e1,
member_typeid_t  e2,
member_typeid_t  e3
throw ()
 

constructs an exception with the given error message.

Parameters:
a actual (bad) type
e1 expected type
e2 alternative compatible type
e3 other alternative compatible type


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