removed logger and added catalogformatexception