Todo: Clean up overly complex exception definition in dbAccess.h

Bug #725095 reported by Rick Stovall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
New Real Time Battle
Won't Fix
Medium
George Jordan

Bug Description

As a general rule, exceptions inherited from nrtb::base_exception do not need to have anything overidden when they are declared/defined. For example, the following would be fine in a class header:

public:
    // Thrown by my_method() in cases of unexpected error.
   class my_method_exception: public nrtb::base_exception {};

This is cleaner and easier to read than the exception class declarations currently present in dbAccess.

Revision history for this message
George Jordan (gsjordanc) wrote :

Fixes and adjustments made in version 38.

Changed in nrtb:
status: New → Fix Committed
Rick Stovall (fpstovall)
Changed in nrtb:
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.