added error exceptions for display restaurant