Hi,

On Jun 11, 1:12 pm, Stefan Kamphausen <[email protected]> wrote:

> error: #<IllegalArgumentException
>          java.lang.IllegalArgumentException:
>          Wrong number of args (1) passed to:
>          agent-errors$raise-except-action>

> (defn raise-except-action [state new]
>   (throw (Exception. "Action Exception")))

> (send ag raise-except-action)

The error message is quite clear.

> ;; Why is raise-except-action called?

I don't understand what you mean. It is called because you send it as
an action, no? Or did you mean: Why is the handler called, although
the mode is :continue? (However, I'm not familiar with the new error
handling for agents. Just guessing...)

Sincerely
Meikel

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

Reply via email to