• 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic