>I don't see any threads in your Stack Overflow post. 

I thought it would be over-complicated to include all of the code. But 
inside my -main function I start a new thread and call the function that 
calls the function that causes this error. 

>They are not "lost". Unhandled exceptions cause 
> threads to terminate immediately.

That is good to know. I have the top level function call wrapped in a 
try/catch block, but I suppose I'll get better results if I do more of the 
try/catch at a lower level, closer to the problem.


W dniu wtorek, 29 stycznia 2013 16:03:51 UTC-5 użytkownik Michael Klishin 
napisał:
>
>
> 2013/1/30 larry google groups <lawrenc...@gmail.com <javascript:>>
>
>> but if the exception happens in a background thread, it gets lost? If 
>> this is true, what is the best way to find these errors? 
>
>
> They are not "lost". Unhandled exceptions cause threads to terminate 
> immediately. You need to handle
> exceptions where you expect them.
>
> I don't see any threads in your Stack Overflow post. Monger itself does 
> not create any threads internally. You are
> saying your credentials may be wrong but no code, it is true that with 
> MongoDB Java driver's current behavior
> exceptions will be thrown next time you attempt to do something rather 
> than immediately upon connection.
> -- 
> MK
>
> http://github.com/michaelklishin
> http://twitter.com/michaelklishin
>  

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to