Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-395

TomEEDataSourceCreator.ContantHashCodeHandler will change the Exception throwed by the original method

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Method.invoke will wrap the underlying Exception in the InvocationTargetException.Which should be unwrapped in the InvocationHandler.invoke method.

      Related fix I made for postgres-jdbc
      http://archives.postgresql.org/pgsql-jdbc/2010-10/msg00089.php

        Attachments

        1. patch.txt
          0.9 kB
          chunlinyao

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chunlinyao chunlinyao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: