Give hint to location in exception
Fix compilation issue resulting from the previous commit