Results 1 to 2 of 2

Thread: Why you kill exceptions?!?!?

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Posts
    4

    Default 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

  2. #2
    Join Date
    Aug 2010
    Location
    India
    Posts
    11

    Default

    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
  •