refactor JBIConduitOutputStream exception handle
------------------------------------------------

                 Key: CXF-2115
                 URL: https://issues.apache.org/jira/browse/CXF-2115
             Project: CXF
          Issue Type: Bug
            Reporter: Freeman Fang
            Assignee: Freeman Fang
             Fix For: 2.0.11, 2.1.5, 2.2.1


currently it's
{code}
        } catch (IOException e) {
            throw e;
        } catch (Exception e) {
            e.printStackTrace();
            new IOException(e.toString());
        }
{code}

should be 
{code}
        } catch (IOException e) {
            throw e;
        } catch (Exception e) {
            throw new RuntimeException(e.toString());
        }
{code}
so that we can get correct exception back from JBI client side and remove noisy 
exception stacktrace

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

Reply via email to