Class RegistryAccessDeniedException

All Implemented Interfaces:
Serializable

public class RegistryAccessDeniedException extends RegistryException
Thrown when access is denied for a requested operation.
Author:
Rob Spoor
See Also:
  • Constructor Details

    • RegistryAccessDeniedException

      public RegistryAccessDeniedException(String path)
      Creates a new exception.
      Parameters:
      path - The path of the registry key for which access was denied.
    • RegistryAccessDeniedException

      public RegistryAccessDeniedException(String path, String machineName)
      Creates a new exception.
      Parameters:
      path - The path of the registry key for which access was denied.
      machineName - The remote machine of the registry key for which access was denied, or null for the local machine.
      Since:
      1.1