Uploaded image for project: 'Solder'
  1. Solder
  2. SOLDER-3

OTT Exception wrapping

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.0.0.Beta1
    • 3.0.0.Final
    • Unwraps
    • None

    Description

      This piece of code

      try

      { M obj = proxyClass.newInstance(); ((ProxyObject) obj).setHandler(hdl); creationalContext.push(obj); return obj; }

      catch (Exception e)

      { throw new RuntimeException(e); }

      in UnwrapsProducerBean is over-zealous in wrapping exceptions. It should only wrap specific exceptions, adding additonal info (e.g. the proxyClass it was trying to create)

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            pmuiratbleepbleep Pete Muir
            Archiver:
            samahaja@redhat.com Sagar Mahajan

            Dates

              Created:
              Updated:
              Resolved:
              Archived: