axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Veit (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-2986) Multiply wrapped exceptions
Date Wed, 18 Jul 2007 15:47:04 GMT
Multiply wrapped exceptions
---------------------------

                 Key: AXIS2-2986
                 URL: https://issues.apache.org/jira/browse/AXIS2-2986
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.2
         Environment: not applicable
            Reporter: Alexander Veit
            Priority: Minor


org.apache.axis2.AxisFault is a java.rmi.RemoteException which in turn is a java.io.IOException.

So

} catch (IOException e) {
  log.debug(e);
  throw new AxisFault(e);
}

should be preceded by

} catch (AxisFault e) {
  throw e;
}

to avoid multiply wrapped exceptions and excessive logging.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message