Re: genclass error message

2008-10-28 Thread mb
Hi, On 7 Okt., 01:57, Chouser <[EMAIL PROTECTED]> wrote: > Currently if you fail to provide or mis-name the main fn in a > gen-class implementation, you get an error like: > > Exception in thread "main" java.lang.UnsupportedOperationException: > net.n01se/main not defined > > This is wrong, since

Re: genclass error message

2008-10-28 Thread Rich Hickey
On Oct 28, 9:51 am, mb <[EMAIL PROTECTED]> wrote: > Hi, > > On 7 Okt., 01:57, Chouser <[EMAIL PROTECTED]> wrote: > > > > > Currently if you fail to provide or mis-name the main fn in a > > gen-class implementation, you get an error like: > > > Exception in thread "main" java.lang.UnsupportedOper

genclass error message

2008-10-06 Thread Chouser
Currently if you fail to provide or mis-name the main fn in a gen-class implementation, you get an error like: Exception in thread "main" java.lang.UnsupportedOperationException: net.n01se/main not defined This is wrong, since the name shouldn't be just "main". Attached is a patch to change this

Re: genclass error message

2008-08-25 Thread Rich Hickey
On Aug 22, 6:24 pm, Chouser <[EMAIL PROTECTED]> wrote: > It's pretty easy to get typo (or brain-o) in the package or method > name when using genclass, especially since the correct naming recently > changed. Currently you might see something like: > > user=> (gen-and-load-class 'pkg.ClassName :