removed unexistent terminate() and raised Exception