Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39865

Refactor Sakai Exceptions to inherit from a SakaiException base class

    XMLWordPrintable

    Details

    • Type: (Deprecated) Contributed Patch
    • Status: RESOLVED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.0
    • Fix Version/s: 10.0
    • Component/s: Kernel
    • Labels:
    • Previous Issue Keys:
      KNL-912

      Description

      While working with these exceptions, it seemed like there was a lot of duplication and also seemed somewhat over-reaching to just throw "Exception" when we really can just throw various Sakai specific exceptions. However there are almost 20 Sakai exceptions all with similar behavior. If these extended a SakaiException base class rather than Exception, then this could be used instead.

      Any thoughts on this? Won't fix is an appropriate thought.

      This shouldn''t result in any code changes except for the exceptions themselves, and the places where we can improve which exceptions are thrown/caught.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    aaronz Aaron Zeckoski (Inactive)
                    Reporter:
                    jonespm Matthew Jones
                  • Votes:
                    1 Vote for this issue
                    Watchers:
                    2 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration