Yes, I would love to throw an exception. Unfortunately, customer's request sometimes differ from developers desires.
Alessandro Johnny Kewl wrote: > > > ----- Original Message ----- > From: "afolli" <[EMAIL PROTECTED]> > To: <users@tomcat.apache.org> > Sent: Friday, July 25, 2008 10:29 AM > Subject: RE: Stop tomcat on Startup > > >> >> >> Thanks Peter. >> That is a lot easier than I thought :) >> >> Alessandro >> >> >> Peter Crowther wrote: >>> >>> How hard a stop do you want? The "Very Big Crowbar" would be a >>> System.exit(1)! >>> >>> - Peter > > Ouch! > Service providers around the world now have your name... ha ha ;) > I see you doing web services... I imagine they must be able to handle > exceptions, soap faults whatever... > So I'm thinking that sommething like... > throw new it.libero.MyServiceIsScrewedException("A Module is missing in > italy"); > > might be better ;) > I think look at error handling in web services before whacking Tomcat ;) > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Stop-tomcat-on-Startup-tp18647289p18663172.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]