Aug 13th, 2010, 08:10 AM
Why you kill exceptions?!?!?
Message to coders from Spring Community.
I spent plenty of time to fix same problem with XML namespaces and I found, that at NamespacePlugins (spring-osgi-extender-2.0.0.M1.jar) there is a method pass(Bundle) (implementation of LazyBundleRegistry.Condition interface) which catch exception and dosn't print any information to log from this exception!!!! And unfrotunately message of this exception was solution to my problem.
Can you correct such BUGs because it's not good practise and caused plenty of problem using such CODE.
Aug 13th, 2010, 11:56 PM
Exceptions need to be properly handled. You need to have catch blocks from the place where you thro the exception to the place where ultimately it gets throwed to the log.You would have missed catch blocks in between.
Tags for this Thread