Class NoSuchRegistryKeyException

  • All Implemented Interfaces:
    Serializable

    public class NoSuchRegistryKeyException
    extends RegistryException
    Thrown when an attempt is made to access a registry key that does not exist.
    Author:
    Rob Spoor
    See Also:
    Serialized Form
    • Constructor Detail

      • NoSuchRegistryKeyException

        public NoSuchRegistryKeyException​(String path)
        Creates a new exception.
        Parameters:
        path - The path that was used to access the non-existing registry key.
      • NoSuchRegistryKeyException

        public NoSuchRegistryKeyException​(String path,
                                          String machineName)
        Creates a new exception.
        Parameters:
        path - The path that was used to access the non-existing registry key.
        machineName - The remote machine on which the non-existing registry key was attempted to be accessed, or null for the local machine.
        Since:
        1.1