edu.wpi.first.wpilibj.networktables2
Class TableKeyExistsWithDifferentTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.