public void deleteLocalDocument(final String docId) throws DocumentNotFoundException {
        Misc.checkState(this.isOpen(), "Database is closed");
        Misc.checkNotNullOrEmpty(docId, "Input document id");

        try {
            get(queue.submit(new DeleteLocalDocumentCallable(docId)));
        } catch (ExecutionException e) {
            throw new DocumentNotFoundException(docId, null, e);
        }

    }
public void deleteLocalDocument ( final String docId ) throws DocumentNotFoundException { Misc . checkState ( this . isOpen ( ) , "Database is closed" ) ; Misc . checkNotNullOrEmpty ( docId , "Input document id" ) ; try { get ( queue . submit ( new DeleteLocalDocumentCallable ( docId ) ) ) ; } catch ( ExecutionException e ) { throw new DocumentNotFoundException ( docId , null , e ) ; } }
<p>Deletes a local document.</p>

@param docId documentId of the document to be deleted

@throws DocumentNotFoundException if the document ID doesn't exist