示例#1
0
 Registry_exception(string message,
                    Exception inner_exception = null,
                    Loyalty_mate.Utilities.OS.Registry.Iterator iterator = null)
     : base(message, inner_exception)
 {
     Iterator = iterator;
 }
示例#2
0
 Nested_registry_path_exception(Loyalty_mate.Utilities.OS.Registry.Iterator iterator,
                                string bad_key_name)
     : base("Was given a path, was expecting a simple name.",
            null,
            iterator)
 {
     Bad_key_name = bad_key_name;
 }
示例#3
0
 Value_doesnt_exist_exception(Loyalty_mate.Utilities.OS.Registry.Iterator iterator,
                              string value_name)
     : base("The value specified doesn't exist in this key.",
            null,
            iterator)
 {
     Value_name = value_name;
 }
 Modifying_read_only_key_exception(Loyalty_mate.Utilities.OS.Registry.Iterator iterator,
                                   Faulting_operation operation,
                                   string name)
     : base("Attempt to modify a read-only key.",
            null,
            iterator)
 {
     Operation = operation;
     Name      = name;
 }
 Unexpected_value_type_exception(RegistryValueKind desired_type,
                                 RegistryValueKind discovered_type,
                                 Loyalty_mate.Utilities.OS.Registry.Iterator iterator,
                                 string value_name)
     : base("The value specified isn't of the expected type.",
            null,
            iterator)
 {
     Desired_type    = desired_type;
     Discovered_type = discovered_type;
     Value_name      = value_name;
 }
示例#6
0
 Key_doesnt_exist_exception(Loyalty_mate.Utilities.OS.Registry.Iterator iterator)
     : base("The target key doesn't exist.", null, iterator)
 {
 }