Expanded class hierarchy of InvalidGridLayoutException