Ejemplo n.º 1
0
 public FileLock lockJ(long position, long size, bool shared)
 {
     try {
         delegateInstance.Lock (position, size); // Works it?
         this.fileLock = new FileLock(this,position, size, shared);
         return this.fileLock;
     }
     catch (System.Exception ex) {
         throw new java.io.IOException (ex.getMessage ());
     }
 }