Added exception in sqlmaker constructor