Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3783

LOBStreamControl shouldn't throw SQLException

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.4.2.0, 10.5.1.1
    • 10.4.2.0, 10.5.1.1
    • JDBC
    • None

    Description

      LOBStreamControl throws three types of exceptions: IOException, SQLException and StandardException.
      All the SQLException are generated/thrown from the code in LOBStreamControl.
      At this level of the code, SQLException should not be thrown, as it is more tedious to handle both SQLException and StandardException at higher levels.

      I propose to replace SQLException with StandardException in LOBStreamControl. The purpose of this change is consistency, and also results it slightly less code at higher levels.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            kristwaa Kristian Waagan
            kristwaa Kristian Waagan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment