Being a Java trainer for a long time, we talk with students about the
"handle-or-declare rule" in Java and the two types of exceptions: "checked"
(declared) and "unchecked" (runtime). So I prefer using a RuntimeException
because no exception was specified.

On Wed, Dec 10, 2008 at 3:46 AM, Mark Volkmann <[EMAIL PROTECTED]>wrote:

>
> The throw-if function from clojure.contrib.except will throw a
> specified exception type. If none is specified, it throws a
> java.lang.Exception. I was expecting it would through a
> java.lang.RuntimeException. Which seems more correct?
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>

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