allow use of table category with data element and new custom exception