improved exception message