Added more detailed exception messages