CreateException is mandatory on ejbCreate and optional on ejbPostCreate: 10.6.4 ejbCreate<METHOD> methods ... The throws clause must define the javax.ejb.CreateException. The throws clause may define arbitrary application specific exceptions.
and 10.6.5 ejbPostCreate<METHOD> methods ... The throws clause may define arbitrary application specific exceptions, including the javax.ejb.CreateException. On Thursday, June 13, 2002, at 02:39 AM, McAuley, Tim wrote: > >> Did you declare CreateException for both the ejbCreate and >> ejbPostCreate >> methods? Do they both define the exact same exception >> declarations? > > As far as I know they do. Both ejbCreate, ejbPostCreate and create > (under > LocalHome) throw CreateException. > >> Can >> you post a bug report the reproduces the UndeclaredThrowableException. >> > > Will do, but it might take a day or two. > > I'll try out the latest version(s) of Jboss first. Our configuration > files > need to be slightly updated to work with the new version, hence I have > not > used it so far. > > Thanks for the replies. > > Tim > > _______________________________________________________________ > > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________________________ Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
