public void CommitWrite() { try { _javaFileStorage.Jfs.UploadFile(_path, _memoryStream.ToArray(), _useFileTransaction); } catch (Java.Lang.Exception e) { throw _javaFileStorage.LogAndConvertJavaException(e); } }