Well, from the print of the exception, it looks unlikely, but let's look at 
the code. This stacktrace says the exception was thrown in line 429 of 
clojure.lang.AFn, and I'm going to assume you're using Clojure 1.6.0, so we 
want 
https://github.com/clojure/clojure/blob/clojure-1.6.0/src/jvm/clojure/lang/AFn.java#L429

Looking at that line of code, it's creating the exception object using only 
the arity (a number) and the name of the class of the object, a string. So 
no, the map is not recoverable from the exception.

On Wednesday, November 5, 2014 10:15:50 PM UTC-8, Sunil Nandihalli wrote:
>
> Hi Everybody,
>
> user=> ({:a 1})
>
> ArityException Wrong number of args (0) passed to: PersistentArrayMap 
>  clojure.lang.AFn.throwArity (AFn.java:429)
> user=> *e
> #<ArityException clojure.lang.ArityException: Wrong number of args (0) 
> passed to: PersistentArrayMap>
>
> From *e is it possible to infer that the object which threw it was {:a 1}?
>
> Thanks,
> Sunil.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to