nrtb-core team mailing list archive
-
nrtb-core team
-
Mailing list archive
-
Message #00151
[Bug 725095] Re: Todo: Clean up overly complex exception definition in dbAccess.h
** Branch linked: lp:~gsjordanc/nrtb/data-broker
--
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:
Fix Committed
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/725095/+subscriptions
References