File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ class ait:public ai_baset
305
305
{
306
306
typename state_mapt::iterator it=state_map.find (l);
307
307
if (it==state_map.end ())
308
- throw " failed to find state" ;
308
+ throw std::out_of_range ( " failed to find state" ) ;
309
309
310
310
return it->second ;
311
311
}
@@ -314,7 +314,7 @@ class ait:public ai_baset
314
314
{
315
315
typename state_mapt::const_iterator it=state_map.find (l);
316
316
if (it==state_map.end ())
317
- throw " failed to find state" ;
317
+ throw std::out_of_range ( " failed to find state" ) ;
318
318
319
319
return it->second ;
320
320
}
@@ -355,7 +355,7 @@ class ait:public ai_baset
355
355
{
356
356
typename state_mapt::const_iterator it=state_map.find (l);
357
357
if (it==state_map.end ())
358
- throw " failed to find state" ;
358
+ throw std::out_of_range ( " failed to find state" ) ;
359
359
360
360
return it->second ;
361
361
}
Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ class static_analysist:public static_analysis_baset
291
291
{
292
292
typename state_mapt::iterator it=state_map.find (l);
293
293
if (it==state_map.end ())
294
- throw " failed to find state" ;
294
+ throw std::out_of_range ( " failed to find state" ) ;
295
295
296
296
return it->second ;
297
297
}
@@ -300,7 +300,7 @@ class static_analysist:public static_analysis_baset
300
300
{
301
301
typename state_mapt::const_iterator it=state_map.find (l);
302
302
if (it==state_map.end ())
303
- throw " failed to find state" ;
303
+ throw std::out_of_range ( " failed to find state" ) ;
304
304
305
305
return it->second ;
306
306
}
@@ -324,7 +324,7 @@ class static_analysist:public static_analysis_baset
324
324
{
325
325
typename state_mapt::iterator it=state_map.find (l);
326
326
if (it==state_map.end ())
327
- throw " failed to find state" ;
327
+ throw std::out_of_range ( " failed to find state" ) ;
328
328
329
329
return it->second ;
330
330
}
@@ -333,7 +333,7 @@ class static_analysist:public static_analysis_baset
333
333
{
334
334
typename state_mapt::const_iterator it=state_map.find (l);
335
335
if (it==state_map.end ())
336
- throw " failed to find state" ;
336
+ throw std::out_of_range ( " failed to find state" ) ;
337
337
338
338
return it->second ;
339
339
}
You can’t perform that action at this time.
0 commit comments