WPILibC++  trunk
Public Member Functions | List of all members
TableKeyExistsWithDifferentTypeException Class Reference

#include <TableKeyExistsWithDifferentTypeException.h>

Inheritance diagram for TableKeyExistsWithDifferentTypeException:
Inheritance graph
[legend]
Collaboration diagram for TableKeyExistsWithDifferentTypeException:
Collaboration graph
[legend]

Public Member Functions

 TableKeyExistsWithDifferentTypeException (const std::string existingKey, NetworkTableEntryType *existingType)
 
 TableKeyExistsWithDifferentTypeException (const std::string existingKey, NetworkTableEntryType *existingType, const char *message)
 
const char * what ()
 

Detailed Description

Throw to indicate that an attempt to put data to a table is illegal because the specified key exists with a different data type than the put data type.

Author
Paul Malmsten pmalm.nosp@m.sten.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Definition at line 27 of file TableKeyExistsWithDifferentTypeException.h.

Constructor & Destructor Documentation

TableKeyExistsWithDifferentTypeException::TableKeyExistsWithDifferentTypeException ( const std::string  existingKey,
NetworkTableEntryType existingType 
)

Creates a new TableKeyExistsWithDifferentTypeException

Parameters
existingKeyThe name of the key which exists.
existingTypeThe type of the key which exists.

Definition at line 12 of file TableKeyExistsWithDifferentTypeException.cpp.


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