"

2013 FRC Java API

"

edu.wpi.first.wpilibj.networktables2
Class TableKeyExistsWithDifferentTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.wpi.first.wpilibj.networktables2.TableKeyExistsWithDifferentTypeException

public class TableKeyExistsWithDifferentTypeException
extends RuntimeException

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

Constructor Summary
TableKeyExistsWithDifferentTypeException(String existingKey, NetworkTableEntryType existingType)
          Creates a new TableKeyExistsWithDifferentTypeException
TableKeyExistsWithDifferentTypeException(String existingKey, NetworkTableEntryType existingType, String message)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableKeyExistsWithDifferentTypeException

public TableKeyExistsWithDifferentTypeException(String existingKey,
                                                NetworkTableEntryType existingType)
Creates a new TableKeyExistsWithDifferentTypeException

Parameters:
existingKey - The name of the key which exists.
existingType - The type of the key which exists.

TableKeyExistsWithDifferentTypeException

public TableKeyExistsWithDifferentTypeException(String existingKey,
                                                NetworkTableEntryType existingType,
                                                String message)

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"