@@ -153,7 +153,7 @@ public static void SetK1(MyBO bo, ISession s, TK value)
153
153
bo . K1 = 1 ;
154
154
break ;
155
155
default :
156
- throw new Exception ( "Value " + value + " not handled in code" ) ;
156
+ throw new NotImplementedException ( "Value " + value + " not handled in code" ) ;
157
157
}
158
158
}
159
159
@@ -184,7 +184,7 @@ private static void SetBO1_I(MyBO bo, ISession s, TBO1_I value, Action<MyRef1, i
184
184
set ( bo . GetOrCreateBO1 ( s ) , 1 ) ;
185
185
break ;
186
186
default :
187
- throw new Exception ( "Value " + value + " not handled in code" ) ;
187
+ throw new NotImplementedException ( "Value " + value + " not handled in code" ) ;
188
188
}
189
189
}
190
190
@@ -220,7 +220,7 @@ private static void SetBO2_J(MyBO bo, ISession s, TBO2_J value, Action<MyRef2, i
220
220
set ( bo . GetOrCreateBO2 ( s ) , 1 ) ;
221
221
break ;
222
222
default :
223
- throw new Exception ( "Value " + value + " not handled in code" ) ;
223
+ throw new NotImplementedException ( "Value " + value + " not handled in code" ) ;
224
224
}
225
225
}
226
226
@@ -259,7 +259,7 @@ private static void SetBO1_BO2_J(MyBO bo, ISession s, TBO1_BO2_J value, Action<M
259
259
set ( bo . GetOrCreateBO1 ( s ) . GetOrCreateBO2 ( s ) , 1 ) ;
260
260
break ;
261
261
default :
262
- throw new Exception ( "Value " + value + " not handled in code" ) ;
262
+ throw new NotImplementedException ( "Value " + value + " not handled in code" ) ;
263
263
}
264
264
}
265
265
@@ -293,7 +293,7 @@ public static void SetBO1_BO3_L1(MyBO bo, ISession s, TBO1_BO3_L value)
293
293
bo . GetOrCreateBO1 ( s ) . GetOrCreateBO3 ( s ) . L1 = 1 ;
294
294
break ;
295
295
default :
296
- throw new Exception ( "Value " + value + " not handled in code" ) ;
296
+ throw new NotImplementedException ( "Value " + value + " not handled in code" ) ;
297
297
}
298
298
}
299
299
}
0 commit comments