|
A subclass (or implementation
of an interface) is allowed to omit exceptions that its own implementation does
not throw, so I don't think this is a bug.
It shouldn't prevent what you
want to do.
Can you provide more detail if
you have a specific problem?
Hope this
helps
Keith
Hi,
I'd like to extend the AxisServlet class and if/when init()
fails I would like the servlet to throw javax.servlet.UnavailableException.
However, AxisServlet (and AxisServletBase) define their init() method as
public void init()
and not
public void init() throws ServletException
as per the Java Servlet
API javax.servlet.GenericServlet class.
And yet the AxisServlet init() method is still
called...
Should AxisServlet (and incidently AxisServletBase) override
the init() method as specified by javax.servlet.GenericServlet or have I
missed something here? I've searched Apache Bugzilla for Axis-related
bugs and have not found a match.
Regards,
Wayne Ross
This email
is for the intended recipient only and is confidential. If you are not the
intended recipient, please inform the sender immediately and delete this email
and any copies, (including attachments), from your system. You should not
read, copy or make any use of this email if you have received it in
error.
You should take whatever measures you deem to be appropriate to
ensure that this email is virus free.
CRESTCo Ltd does not give any
representation, guarantee or warranty (whether expressed or implied) that this
email has been securely transmitted or is accurate, timely or complete and
excludes all liability in connection with this email or for any statements
which are clearly the senders own and do not represent the views of CRESTCo
Ltd.
CRESTCo Ltd reserves the right to monitor the use and content of
all emails.
|