My application build with Spring roo. The first string in main class is
I want to handling a possible exception which appear with instantiating this constructor, because file "database.properties" can be edited by user. At start my application show error SQLNestedException and i can notCode:new ClassPathXmlApplicationContext("META-INF/spring/applicationContext.xml");
handling it because SQLNestedException is deprecated. I want if appear any error with " new ClassPathXmlA..." execute a my method ~doWithError(). What can I do?
Truly yours, Nafanya.


Reply With Quote