add comments for exceptions
improve exceptions interface
add exceptions to Makefile
change OperandInvalidError interface
replace error_handlerr with throw runtime_errror