Added exceptions for empty list items and items more than 240 characters