Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-295

Refactor db.exception

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • 0.9.0
    • None

    Description

      Refactor db.exception:

      • Extract uniform message into exception classes
      • Create base exception "ProcessException", which is extended by all exceptions
      • Add different error codes to all exceptions. When an exception is caught and a higher-level exception is thrown, the error code will keep and pass (so that users will know the detailed error reason)
      • Refactor packages under db.exception

      Attachments

        1. exception.png
          114 kB
          Zesong Sun

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Zesong Sun Zesong Sun
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m