Uploaded image for project: 'StoRM'
  1. StoRM
  2. STOR-1342 Cleanup frontend codebase
  3. STOR-1304

Simplify exceptions inheriting from std::runtime_error

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • frontend
    • Security Level: Public (Visbile by non-authn users.)
    • None

      Inheriting from std::runtime_error allows to avoid to manage an internal string. Most of the times it's enough to define a constructor taking a string, all the rest is inherited. With C++11 also the constructor could be inherited.

            giaco Francesco Giacomini
            giaco Francesco Giacomini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: