NEOCCA bindings Specification  0.2.8
Public Member Functions | Private Attributes
neo::cca::TypeMismatchException Class Reference

Exception occuring when a get or put operation specifies incorrect data type for a given key already defined in the map. More...

#include <TypeMismatchException.hh>

Inheritance diagram for neo::cca::TypeMismatchException:
Inheritance graph
[legend]
Collaboration diagram for neo::cca::TypeMismatchException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TypeMismatchException (enum Type requestedType, enum Type actualType, const ::std::string &message)
virtual ~TypeMismatchException () throw ()
Type getRequestedType ()
Type getActualType ()

Private Attributes

enum Type rt
enum Type at

Detailed Description

Exception occuring when a get or put operation specifies incorrect data type for a given key already defined in the map.


Constructor & Destructor Documentation

neo::cca::TypeMismatchException::TypeMismatchException ( enum Type  requestedType,
enum Type  actualType,
const ::std::string &  message 
) [inline]
  {
    rt = requestedType;
    at = actualType;
    setMessage(message);
    setType(Nonstandard);
  }
virtual neo::cca::TypeMismatchException::~TypeMismatchException ( ) throw () [inline, virtual]
{}

Member Function Documentation

Returns:
the enumerated value Type sought
{ return rt; }
Returns:
the enumerated value Type sought
{ return at; }

Member Data Documentation


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