--- trunk/mdtools/interface_implementation/MakeStamps.cpp 2002/07/09 18:40:59 11 +++ trunk/mdtools/interface_implementation/MakeStamps.cpp 2002/10/30 22:38:22 160 @@ -3,6 +3,7 @@ #include "MakeStamps.hpp" #include "MoleculeStamp.hpp" +#include "simError.h" LinkedMolStamp::~LinkedMolStamp(){ if( mol_stamp != NULL ) delete mol_stamp; @@ -58,9 +59,10 @@ int MakeStamps::hash( char* text ){ // if the key is less than zero, we've had an overflow error - fprintf( stderr, + sprintf( painCave.errMsg, "There has been an overflow error in the hash key."); - exit(0); + painCave.isFatal = 1; + simError(); } return key;