Class RegistryKeyAlreadyExistsException

  • All Implemented Interfaces:
    Serializable

    public class RegistryKeyAlreadyExistsException
    extends RegistryException
    Thrown when an attempt is made to create a registry key that already exists.
    Author:
    Rob Spoor
    See Also:
    Serialized Form
    • Constructor Detail

      • RegistryKeyAlreadyExistsException

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

        public RegistryKeyAlreadyExistsException​(String path,
                                                 String machineName)
        Creates a new exception.
        Parameters:
        path - The path that was used to create the existing registry key.
        machineName - The remote machine of the registry key that was attempted to be created, or null for the local machine.
        Since:
        1.1