From 35a1478e2cb013b0d6825dda7843d8aef568b679 Mon Sep 17 00:00:00 2001 From: Marijn van der Zee Date: Thu, 29 Dec 2011 15:47:10 +0100 Subject: [PATCH] Add note on non-existing registry keys --- doc/reference/src/objects.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/reference/src/objects.xml b/doc/reference/src/objects.xml index 0ff2487f..c135e961 100644 --- a/doc/reference/src/objects.xml +++ b/doc/reference/src/objects.xml @@ -5168,6 +5168,13 @@ joan_age=35 <object type="Spring.Objects.Factory.Config.RegistryVariableSource, Spring.Core"> <property name="Key" value="HKEY_CURRENT_USER\MyKey" /> </object> + + + The key must be present in the registry when the + configuration is read, otherwise an + ObjectCreationException will be + thrown. +