Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question about the createRecord()

 
Jofer Chan
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,everyone:
the createRecord define follow:

does the array data contain field's value(name,location,specialties,size,rate,owner)?
how to throw DuplicateKeyException with the method?
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question has been discussed by many people here.
Please refer to the post:
NX: DuplicateKeyException
It includes 3-4 more links about this topic.
In general, for my design, the system never throw DuplicateKeyException, as it is impossible to happen according to the user requirement, and the implemetation. I simply provide the exception class, document this fact.
Nick.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic