Class InvalidRegistryHandleException

  • All Implemented Interfaces:
    Serializable

    public class InvalidRegistryHandleException
    extends RegistryException
    Thrown when an attempt is made to access a registry key using a handle that is no longer valid.
    Author:
    Rob Spoor
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidRegistryHandleException

        public InvalidRegistryHandleException​(String path)
        Creates a new exception.
        Parameters:
        path - The path of the registry key the invalid handle is for.
      • InvalidRegistryHandleException

        public InvalidRegistryHandleException​(String path,
                                              String machineName)
        Creates a new exception.
        Parameters:
        path - The path of the registry key the invalid handle is for.
        machineName - The remote machine of the registry key the invalid handle is for, or null for the local machine.
        Since:
        1.1