Class NoSuchRegistryKeyException
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.NoSuchRegistryKeyException
- All Implemented Interfaces:
Serializable
Thrown when an attempt is made to access a registry key that does not exist.
- Author:
- Rob Spoor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception.NoSuchRegistryKeyException(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
-
NoSuchRegistryKeyException
Creates a new exception.- Parameters:
path- The path that was used to access the non-existing registry key.
-
NoSuchRegistryKeyException
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, ornullfor the local machine.- Since:
- 1.1
-