Re: How do I handle failure in contextInitialized()?

2007-03-24 Thread Mikolaj Rydzewski
mers wrote: There is a chance that the database request made in contextInitialized() either fails to connect to the database or does not find the relevant data. If that's the case, I'd like the context to not load, preferably gracefully, but ungracefully if need be. If you throw an exception

How do I handle failure in contextInitialized()?

2007-03-24 Thread mers
contextInitialized() either fails to connect to the database or does not find the relevant data. If that's the case, I'd like the context to not load, preferably gracefully, but ungracefully if need be. Is that possible? Thanks, Emerson -- View this message in context: http://www.nabble.com/How-d