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
All Implemented Interfaces:
Serializable

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
See Also:
Serialized Form

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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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)


Copyright © 2013. All rights reserved.