LabeledShape.new_empty(). Repaired

LinePartition.__init__(). Revised exception handling
Shape. __init__(). Added exception handling
Shape._print_error_message(). Added
LabeledShape._print_error_message(). Added