package container; // Suggested in the textbook. /** Runtime exception thrown when someone tries to add a (key,element) * entry to a sorted collection that doesn't know how to sort this key. */ public class InvalidKeyException extends RuntimeException { public InvalidKeyException() { } public InvalidKeyException(String err) { super(err); } }