use eoExceptions everywhere
This commit is contained in:
parent
75ac37b02a
commit
eba2e14950
127 changed files with 524 additions and 418 deletions
|
|
@ -60,7 +60,7 @@ public:
|
|||
Fitness fitness () const
|
||||
{
|
||||
if (invalid ())
|
||||
throw std::runtime_error ("invalid fitness in PO.h");
|
||||
throw eoInvalidFitnessError("invalid fitness in PO.h");
|
||||
return repFitness;
|
||||
}
|
||||
|
||||
|
|
@ -80,7 +80,7 @@ public:
|
|||
Fitness best () const
|
||||
{
|
||||
if (invalid ())
|
||||
throw std::runtime_error ("invalid best fitness in PO.h");
|
||||
throw eoInvalidFitnessError("invalid best fitness in PO.h");
|
||||
return bestFitness;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue