Class RegistryKeyAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.robtimus.os.windows.registry.RegistryException
com.github.robtimus.os.windows.registry.RegistryKeyAlreadyExistsException
- All Implemented Interfaces:
Serializable
Thrown when an attempt is made to create a registry key that already exists.
- Author:
- Rob Spoor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception.RegistryKeyAlreadyExistsException(String path, String machineName) Creates a new exception. -
Method Summary
Methods inherited from class RegistryException
errorCode, machineName, pathMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RegistryKeyAlreadyExistsException
Creates a new exception.- Parameters:
path- The path that was used to create the existing registry key.
-
RegistryKeyAlreadyExistsException
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, ornullfor the local machine.- Since:
- 1.1
-