use eoExceptions everywhere
This commit is contained in:
parent
75ac37b02a
commit
eba2e14950
127 changed files with 524 additions and 418 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include "eoSTLFunctor.h"
|
||||
#include "utils/eoRndGenerators.h"
|
||||
#include "utils/rnd_generators.h" // for shuffle method
|
||||
#include "eoExceptions.h"
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -134,7 +135,7 @@ typedef typename EOT::AtomType AtomType;
|
|||
: offset(_minSize), extent(_maxSize - _minSize), init(_init)
|
||||
{
|
||||
if (_minSize >= _maxSize)
|
||||
throw std::logic_error("eoInitVariableLength: minSize larger or equal to maxSize");
|
||||
throw eoException("eoInitVariableLength: minSize larger or equal to maxSize");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue