You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Alexander Veit (JIRA)" <ji...@apache.org> on 2007/07/18 17:47:04 UTC

[jira] Created: (AXIS2-2986) Multiply wrapped exceptions

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


[jira] Commented: (AXIS2-2986) Multiply wrapped exceptions

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513712 ] 

Davanum Srinivas commented on AXIS2-2986:
-----------------------------------------

this is already fixed. please try latest nightly.

thanks,
dims

> 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


[jira] Resolved: (AXIS2-2986) Multiply wrapped exceptions

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-2986.
-------------------------------------

    Resolution: Fixed

> 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