aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes unlock cookie problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "unlock cookie problem" Watch "unlock cookie problem" New topic
Author

unlock cookie problem

xi brian
Ranch Hand

Joined: Mar 06, 2008
Posts: 30
"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

Joined: Feb 26, 2008
Posts: 16
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.
 
jQuery in Action, 2nd edition
 
subject: unlock cookie problem