ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sathwik Bantwal Premakumar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ODE-928) Get rid of e.printStackTrace() from the code
Date Tue, 09 Jun 2015 10:10:00 GMT

     [ https://issues.apache.org/jira/browse/ODE-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sathwik Bantwal Premakumar resolved ODE-928.
--------------------------------------------
    Resolution: Fixed

> Get rid of e.printStackTrace() from the code
> --------------------------------------------
>
>                 Key: ODE-928
>                 URL: https://issues.apache.org/jira/browse/ODE-928
>             Project: ODE
>          Issue Type: Improvement
>          Components: BPEL Runtime
>    Affects Versions: 1.3.5
>            Reporter: Mateusz Nowakowski
>            Assignee: Sathwik Bantwal Premakumar
>            Priority: Minor
>             Fix For: 1.3.7, 1.4
>
>         Attachments: patch_updated.diff
>
>
> For example 
> org.apache.ode.bpel.elang.xpath20.runtime.JaxpFunctionResolver
> has the following snippet:
> {code}
> __log.error("Could not transform XSL sheet " + args.get(0) + " on element " + DOMUtils.domToString(varElmt),
e);
> e.printStackTrace();
> throw new XPathFunctionException(new FaultException(_oxpath.getOwner().constants.qnSubLanguageExecutionFault,
e.toString()));
> {code}
> Please remove e.printStackTrace() from any place, especially from the places like here.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message