Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-4982

Wrong exception thrown getDataSource()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Trivial Trivial
    • 10.0
    • 9.3
    • AdminApi
    • Hide

      api.getDataSource("notExistingOne");

      Show
      api.getDataSource("notExistingOne");

      getDataSource(string) throws:

      org.teiid.adminapi.AdminProcessingException: TEIID70008 Data Source with name NotExistingOne still exists in the system.

      instead of something like "datasource not exists / not found"

      Method: AdminFactory.AdminImpl#getDataSource

              rhn-engineering-rareddy Ramesh Reddy
              lukyer Lukas Lukyer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: