Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unlock cookie problem

 
xi brian
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Releases the lock on a record. Cookie must be the cookie
returned when the record was locked; otherwise throws SecurityException.

public void unlock(long recNo, long cookie)
throws SecurityException;"

does the above means that recNo and cookie must be equal? otherwise, throws SecurityException
 
Vinicius Florentino
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Method documentation contains: Releases the lock on a record. Cookie must be the cookie returned when the record was locked; otherwise throws SecurityException.?

Throw SecurityException if you use other than returned using the lock method.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic