Re: Custom exception classes

2009-02-04 Thread Tom Faulhaber
im wrote: > 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?

Custom exception classes

2009-02-04 Thread Jeffrey Straszheim
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