Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Context/Support
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv32398
Modified Files:
ContextHandler.cs
Log Message:
ContextRegistry.GetContext() / WebApplicationContext.Current should print a detailed error [SPRNET-475].
Index: ContextHandler.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Context/Support/ContextHandler.cs,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** ContextHandler.cs 8 Aug 2007 17:46:37 -0000 1.34
--- ContextHandler.cs 5 Oct 2007 17:05:49 -0000 1.35
***************
*** 292,296 ****
throw ConfigurationUtils.CreateConfigurationException(
String.Format("Error creating context '{0}': {1}",
! contextName, ex.Message), ex);
}
throw;
--- 292,296 ----
throw ConfigurationUtils.CreateConfigurationException(
String.Format("Error creating context '{0}': {1}",
! contextName, ReflectionUtils.GetExplicitBaseException(ex).Message), ex);
}
throw;
|