001package edu.wpi.first.wpilibj.networktables; 002 003import java.util.NoSuchElementException; 004 005/** 006 * An exception throw when the lookup a a key-value fails in a {@link NetworkTable} 007 * 008 * @deprecated to provide backwards compatability for new api 009 * 010 * @author Mitchell 011 * 012 */ 013public class NetworkTableKeyNotDefined extends NoSuchElementException { 014 015 /** 016 * @param key the key that was not defined in the table 017 */ 018 public NetworkTableKeyNotDefined(String key) { 019 super("Unkown Table Key: "+key); 020 } 021 022}