throw more detailed exception on insert input validation