private final void openRAF()
    throws LockFile.UnexpectedFileNotFoundException,
           LockFile.FileSecurityException {

        try {
            raf = new RandomAccessFile(file, "rw");
        } catch (SecurityException ex) {
            throw new FileSecurityException(this, "openRAF", ex);
        } catch (FileNotFoundException ex) {
            throw new UnexpectedFileNotFoundException(this, "openRAF", ex);
        }
    }
private final void openRAF ( ) throws LockFile . UnexpectedFileNotFoundException , LockFile . FileSecurityException { try { raf = new RandomAccessFile ( file , "rw" ) ; } catch ( SecurityException ex ) { throw new FileSecurityException ( this , "openRAF" , ex ) ; } catch ( FileNotFoundException ex ) { throw new UnexpectedFileNotFoundException ( this , "openRAF" , ex ) ; } }
Opens (constructs) this object's {@link #raf RandomAccessFile}. <p>

@throws UnexpectedFileNotFoundException if a
<tt>FileNotFoundException</tt> is thrown in reponse to
constructing the <tt>RandomAccessFile</tt> object.
@throws FileSecurityException if a required system property value cannot
be accessed, or if a Java security manager exists and its
<tt>{@link java.lang.SecurityManager#checkRead}</tt> method
denies read access to the file; or if its <tt>{@link
java.lang.SecurityManager#checkWrite(java.lang.String)}</tt>
method denies write access to the file