Is there an easy way to create custom exception classes. Like in Java
where you do:
public class MyOwnException {}
I suppose there is a way to do it with gen-class, but gen-class looks
complicated.
Can someone post a simple example?
(btw, this would make a great macro in clojure.contrib. I'd write it
if someone tells me how to contribute a diff.)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---