Servlet API: decprecated Exception..
From: Frances Del Rio (fdr58_at_yahoo.com)
Date: 03/28/05
- Next message: Ryan Stewart: "Re: Charting & graphing with JSP/Tomcat?"
- Previous message: JFalt: "Re: Swing question"
- Next in thread: Ryan Stewart: "Re: Servlet API: decprecated Exception.."
- Reply: Ryan Stewart: "Re: Servlet API: decprecated Exception.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Mar 2005 14:51:33 -0500
this line is not being accpeted on compiling:
throw new UnavailableException(this, "chatprops not set in servlet init
parameters");
it says that "UnavailableException" has been deprecated.. usu. I look
up the deprecated stuff in API and it often says what it's been replaced
with... but in this case it says it has "no replacement"... so: I
tried using "ServletException" but it still won't compile.. also tried
just "Exception" but no go either.. (shouldn't "Exception" work? since
it's part of java.lang package?)
(also why has this been "deprecated" when in fact I'm using same version
of Tomcat that I first downloaded a last summer (5.0.27)? or does
Tomcat ship with deprecated stuff? I mean b/c Servlet API that shipped
w/Tomcat DOES list UnavailableException...
pls explain.. thank you.. Frances
- Next message: Ryan Stewart: "Re: Charting & graphing with JSP/Tomcat?"
- Previous message: JFalt: "Re: Swing question"
- Next in thread: Ryan Stewart: "Re: Servlet API: decprecated Exception.."
- Reply: Ryan Stewart: "Re: Servlet API: decprecated Exception.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|