Index: /trunk/eraser6/Eraser/Settings.cs
===================================================================
--- /trunk/eraser6/Eraser/Settings.cs	(revision 1843)
+++ /trunk/eraser6/Eraser/Settings.cs	(revision 1844)
@@ -49,4 +49,7 @@
 			public RegistrySettings(Guid pluginId, RegistryKey key)
 			{
+				if (key == null)
+					throw new ArgumentNullException("key");
+
 				this.PluginID = pluginId;
 				this.Key = key;
