I've done something like this in Java projects but without any magic 
unwrapping. It worked well.  Manual unwrapping wasn't too onerous in the rare 
cases where we wanted to do so.  The Clojure-specific exception should be part 
of the public API for Java interop. Don't try to hide it.



On Oct 12, 2011, at 8:20 AM, Ivan Koblik wrote:

> I wonder, would it be possible to throw a custom exception (something like 
> DoNotUse_InternalRuntimeException) in Reflector.java, and update try/catch 
> code to always unwrap it?

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

Reply via email to