Two Laptop Bag*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "UnavailableException problem" Watch "UnavailableException problem" New topic
Author

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 AnotherUnavailableException.java
AnotherUnavailableException.java:1: 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: http://aspose.com/file-tools
 
subject: UnavailableException problem