Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2115

refactor JBIConduitOutputStream exception handle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.11, 2.1.5, 2.2.1
    • None
    • None

    Description

      currently it's

              } catch (IOException e) {
                  throw e;
              } catch (Exception e) {
                  e.printStackTrace();
                  new IOException(e.toString());
              }
      

      should be

              } catch (IOException e) {
                  throw e;
              } catch (Exception e) {
                  throw new RuntimeException(e.toString());
              }
      

      so that we can get correct exception back from JBI client side and remove noisy exception stacktrace

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: