-
Aug 13th, 2010, 08:10 AM
#1
Why you kill exceptions?!?!?
Hey
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.
Regards
Pawel
-
Aug 13th, 2010, 11:56 PM
#2
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules