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
Register / Login


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "unlock cookie problem" Watch "unlock cookie problem" New topic
Author

unlock cookie problem

xi brian
Greenhorn

Joined: Mar 06, 2008
Posts: 29
"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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: unlock cookie problem
 
Similar Threads
Question of unlock() method
Cookie value used in DBAccess Interface
NX: [URLyBird] unlock(...) and not locked record
RecordNotFoundException and unlock
SecurityException never thrown??