Public bug reported: 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. ** Affects: nrtb Importance: Medium Assignee: George Jordan (gsjordanc) Status: New -- You received this bug notification because you are a member of NRTB Core, which is subscribed to New Real Time Battle. https://bugs.launchpad.net/bugs/725095 Title: Todo: Clean up overly complex exception definition in dbAccess.h Status in The New Real Time Battle Project: New 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. _______________________________________________ Mailing list: https://launchpad.net/~nrtb-core Post to : nrtb-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~nrtb-core More help : https://help.launchpad.net/ListHelp