Added the exception for getting a flavor.