added more info to exception message