Gets the value associated with the given key or throws an exception, if the key is not present in this registry.
The key to check