mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
21 lines
428 B
Java
21 lines
428 B
Java
package edu.wpi.first.wpilibj.tables;
|
|
|
|
import java.util.NoSuchElementException;
|
|
|
|
/**
|
|
* An exception throw when the lookup a a key-value fails in a {@link ITable}
|
|
*
|
|
* @author Mitchell
|
|
*
|
|
*/
|
|
public class TableKeyNotDefinedException extends NoSuchElementException {
|
|
|
|
/**
|
|
* @param key the key that was not defined in the table
|
|
*/
|
|
public TableKeyNotDefinedException(String key) {
|
|
super("Unknown Table Key: "+key);
|
|
}
|
|
|
|
}
|