* minor fix in exception generation