adding more information to exception message