Class NoSuchRegistryValueException

All Implemented Interfaces:
Serializable

public class NoSuchRegistryValueException extends RegistryException
Thrown when an attempt is made to access a registry value that does not exist.
Author:
Rob Spoor
See Also:
  • Constructor Details

    • NoSuchRegistryValueException

      public NoSuchRegistryValueException(String path, String name)
      Creates a new exception.
      Parameters:
      path - The path to the registry key for which the non-existing registry value was attempted to be accessed.
      name - The name of the non-existing registry value.
    • NoSuchRegistryValueException

      public NoSuchRegistryValueException(String path, String machineName, String name)
      Creates a new exception.
      Parameters:
      path - The path to the registry key for which the non-existing registry value was attempted to be accessed.
      machineName - The remote machine of the registry key for which the non-existing registry value was attempted to be accessed, or null for the local machine.
      name - The name of the non-existing registry value.
      Since:
      1.1
  • Method Details

    • name

      public String name()
      Returns the name of the non-existing registry value.
      Returns:
      The name of the non-existing registry value.