Ejemplo n.º 1
0
 protected void OpenFile()
 {
     try
     {
         UtlFileAccess access = this._isDump ? FileUtil.GetDefaultInstance() : this._database.logger.GetFileAccess();
         Stream        s      = access.OpenOutputStreamElement(this.OutFile);
         this._outDescriptor = access.GetFileSync(s);
         this.FileStreamOut  = new BufferedStream(s, 0x2000);
     }
     catch (IOException exception)
     {
         object[] add = new object[] { exception.Message, this.OutFile };
         throw Error.GetError(exception, 0x1c4, 0x1a, add);
     }
 }