On Mon, Aug 22, 2011 at 11:02 AM, Brian Hurt wrote:
> What I want to be able to do is to be able to create new exception classes,
> in the repl, and be able to throw them and catch them.
At the risk of sounding curmudgeonly: are you sure that's what you
want? I suspect you really just want to be
> How can I catch a proxied Throwable class without catching everything? I
> suppose I could grab the class and go at it with reflection...
I wrestled with this problem for a while, and got to "you can't do
it". At least, not without AOT compilation of some sort. I did come up
with a horrible, ho
How can I catch a proxied Throwable class without catching everything? I
suppose I could grab the class and go at it with reflection...
Brian
On Mon, Aug 22, 2011 at 3:21 PM, David Powell wrote:
> You can use proxy for this. It doesn't create wrappers, it creates a
> proper subclass with meth
You can use proxy for this. It doesn't create wrappers, it creates a proper
subclass with methods that delegate to clojure functions via var lookup.
--
Dave
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojur