> See http://clojure.org/special_forms#try , you're still responsible for 
the 
> logic in the catch to ignore the exception.  

But I have caught the exceptions, so why do they kill my app? 

You link to this, which does not answer the question: 

"The exprs are evaluated and, if no exceptions occur, the value of the last 
is returned. If an exception occurs and catch clauses are provided, each is 
examined in turn and the first for which the thrown exception is an 
instance of the named class is considered a matching catch clause. If there 
is a matching catch clause, its exprs are evaluated in a context in which 
name is bound to the thrown exception, and the value of the last is the 
return value of the function. If there is no matching catch clause, the 
exception propagates out of the function. Before returning, normally or 
abnormally, any finally exprs will be evaluated for their side effects."

I catch the exception and log it. And then the exception kills the app? 
Why? 






On Friday, April 26, 2013 11:53:04 AM UTC-4, George Oliver wrote:
>
>
>
> On Friday, April 26, 2013 8:01:45 AM UTC-7, larry google groups wrote:
>>
>>
>> I thought I had written the try/catch blog so that this exception would 
>> be logged, but otherwise ignored. 
>>
>> Instead, this exception stops my app cold -- the app stops. 
>>
>>
>>
> See http://clojure.org/special_forms#try , you're still responsible for 
> the logic in the catch to ignore the exception.  
>

-- 
-- 
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