@@ -66,7 +66,7 @@ class Puck {
6666// include the generated file containing the list of available properties
6767# include < barrett/products/detail/property_list.h>
6868 static const char * getPropertyStr (enum Property prop);
69- static enum Property getPropertyEnum (const char * str) throw(std::invalid_argument) ;
69+ static enum Property getPropertyEnum (const char * str);
7070 static enum Property getPropertyEnumNoThrow (const char * str);
7171
7272
@@ -90,7 +90,7 @@ class Puck {
9090 bool respondsToProperty (enum Property prop) const {
9191 return respondsToProperty (prop, effectiveType, vers);
9292 }
93- int getPropertyId (enum Property prop) const throw(std::runtime_error) {
93+ int getPropertyId (enum Property prop) const {
9494 return getPropertyId (prop, effectiveType, vers);
9595 }
9696 int getPropertyIdNoThrow (enum Property prop) const {
@@ -131,8 +131,7 @@ class Puck {
131131 static bool respondsToProperty (enum Property prop, enum PuckType pt, int fwVers) {
132132 return getPropertyIdNoThrow (prop, pt, fwVers) != -1 ;
133133 }
134- static int getPropertyId (enum Property prop, enum PuckType pt, int fwVers)
135- throw(std::runtime_error);
134+ static int getPropertyId (enum Property prop, enum PuckType pt, int fwVers);
136135 static int getPropertyIdNoThrow (enum Property prop, enum PuckType pt, int fwVers);
137136
138137
0 commit comments