improved exception messages