edit todo
refactoring: concatenate newThrow and throwErrorTH