File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes UnavailableException problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "UnavailableException problem" Watch "UnavailableException problem" New topic

UnavailableException problem

Meng Tan
Ranch Hand

Joined: Jan 20, 2001
Posts: 115
I got an error message when compiling the following class I created myself :
public class AnotherUnavailableException extends javax.servlet.UnavailableException {
The compilation error message is :
D:\jakarta-tomcat-4.0.1\webapps\ch05\WEB-INF\classes>javac -classpath %j2ee_home
%\lib\j2ee.jar cannot resolve symbol
symbol : constructor UnavailableException ()
location: class javax.servlet.UnavailableException
public class AnotherUnavailableException extends javax.servlet.UnavailableExcept
ion {
1 error
And when I replace UnavailableException with ServletException as the base class, it is OK.
I dont know what is wrong.
Please help!
Meng Tan
Ranch Hand

Joined: Jan 20, 2001
Posts: 115
Sorry, please ignore the problem. I managed to find the cause.
I agree. Here's the link:
subject: UnavailableException problem
It's not a secret anymore!