ElementBadTypeException Class Reference

#include <exceptions.h>

Inheritance diagram for ElementBadTypeException:
CObjectException

List of all members.

Public Member Functions

 ElementBadTypeException (std::string _element)
virtual ~ElementBadTypeException () throw ()
const char * what () const throw ()

Private Attributes

const std::string element
std::string message

Detailed Description

Exception thrown when cobject has or would have bad type. TODO howto store bad type information


Constructor & Destructor Documentation

ElementBadTypeException::ElementBadTypeException ( std::string  _element  )  [inline]

Exception constructor.

Parameters:
_element Element id with bad type.

References element, and message.

virtual ElementBadTypeException::~ElementBadTypeException (  )  throw () [inline, virtual]

Member Function Documentation

const char* ElementBadTypeException::what (  )  const throw () [inline]

Prints context information of exception.

Returns:
c string containing context message.

References message.


Member Data Documentation

const std::string ElementBadTypeException::element [private]

Element identifier.

Referenced by ElementBadTypeException().

std::string ElementBadTypeException::message [private]

Referenced by ElementBadTypeException(), and what().


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