Added more specific exception messages