Hi,
jikes complains about:

Issued 1 semantic warning compiling "com/mparaz/MyAxisSoapBindingStub.java":

    33.         catch(java.lang.Exception t) {
                      <------------------->
*** Caution: This try block cannot throw a "checked exception" (JLS section 14.7) that 
can be caught here. You may have intended to catch a RuntimeException instead of an 
Exception.

from this bit of code:

        try {
            if (service == null) {
                super.service = new org.apache.axis.client.Service();
            } else {
                super.service = service;
            }
        }
        catch(java.lang.Exception t) {
            throw org.apache.axis.AxisFault.makeFault(t);
        }

and changing it to:

        catch(java.lang.RuntimeException t) {

Takes it away.

Is this a problem?


-- 
Miguel A Paraz             <http://mparaz.com>  Mobile: +63-916-423-7922
Imperium Technology, Inc.  <[EMAIL PROTECTED]>    Office: +63-2-812-3155

Reply via email to