@@ -66,7 +66,7 @@ class Puck {
66
66
// include the generated file containing the list of available properties
67
67
# include < barrett/products/detail/property_list.h>
68
68
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);
70
70
static enum Property getPropertyEnumNoThrow (const char * str);
71
71
72
72
@@ -90,7 +90,7 @@ class Puck {
90
90
bool respondsToProperty (enum Property prop) const {
91
91
return respondsToProperty (prop, effectiveType, vers);
92
92
}
93
- int getPropertyId (enum Property prop) const throw(std::runtime_error) {
93
+ int getPropertyId (enum Property prop) const {
94
94
return getPropertyId (prop, effectiveType, vers);
95
95
}
96
96
int getPropertyIdNoThrow (enum Property prop) const {
@@ -131,8 +131,7 @@ class Puck {
131
131
static bool respondsToProperty (enum Property prop, enum PuckType pt, int fwVers) {
132
132
return getPropertyIdNoThrow (prop, pt, fwVers) != -1 ;
133
133
}
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);
136
135
static int getPropertyIdNoThrow (enum Property prop, enum PuckType pt, int fwVers);
137
136
138
137
0 commit comments