Added Exception class and modified Table and TableRow classes.