@@ -153,7 +153,7 @@ public static void SetK1(MyBO bo, ISession s, TK value)
153153 bo . K1 = 1 ;
154154 break ;
155155 default :
156- throw new Exception ( "Value " + value + " not handled in code" ) ;
156+ throw new NotImplementedException ( "Value " + value + " not handled in code" ) ;
157157 }
158158 }
159159
@@ -184,7 +184,7 @@ private static void SetBO1_I(MyBO bo, ISession s, TBO1_I value, Action<MyRef1, i
184184 set ( bo . GetOrCreateBO1 ( s ) , 1 ) ;
185185 break ;
186186 default :
187- throw new Exception ( "Value " + value + " not handled in code" ) ;
187+ throw new NotImplementedException ( "Value " + value + " not handled in code" ) ;
188188 }
189189 }
190190
@@ -220,7 +220,7 @@ private static void SetBO2_J(MyBO bo, ISession s, TBO2_J value, Action<MyRef2, i
220220 set ( bo . GetOrCreateBO2 ( s ) , 1 ) ;
221221 break ;
222222 default :
223- throw new Exception ( "Value " + value + " not handled in code" ) ;
223+ throw new NotImplementedException ( "Value " + value + " not handled in code" ) ;
224224 }
225225 }
226226
@@ -259,7 +259,7 @@ private static void SetBO1_BO2_J(MyBO bo, ISession s, TBO1_BO2_J value, Action<M
259259 set ( bo . GetOrCreateBO1 ( s ) . GetOrCreateBO2 ( s ) , 1 ) ;
260260 break ;
261261 default :
262- throw new Exception ( "Value " + value + " not handled in code" ) ;
262+ throw new NotImplementedException ( "Value " + value + " not handled in code" ) ;
263263 }
264264 }
265265
@@ -293,7 +293,7 @@ public static void SetBO1_BO3_L1(MyBO bo, ISession s, TBO1_BO3_L value)
293293 bo . GetOrCreateBO1 ( s ) . GetOrCreateBO3 ( s ) . L1 = 1 ;
294294 break ;
295295 default :
296- throw new Exception ( "Value " + value + " not handled in code" ) ;
296+ throw new NotImplementedException ( "Value " + value + " not handled in code" ) ;
297297 }
298298 }
299299 }
0 commit comments