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]

00023   {
00024     rt = requestedType;
00025     at = actualType;
00026     setMessage(message);
00027     setType(Nonstandard);
00028   }

virtual neo::cca::TypeMismatchException::~TypeMismatchException (  )  throw () [inline, virtual]

00030 {}


Member Function Documentation

Type neo::cca::TypeMismatchException::getRequestedType (  )  [inline]

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

Type neo::cca::TypeMismatchException::getActualType (  )  [inline]

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


Member Data Documentation


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

Generated on Mon Sep 14 18:33:37 2009 for NEOCCA bindings Specification by  doxygen 1.5.9