Examples of FilerException


Examples of com.dbxml.db.core.filer.FilerException

            keys = new ArrayList((int)fileHeader.getRecordCount());
            query(tx, null, this);
            iter = keys.iterator();
         }
         catch ( IOException e ) {
            throw new FilerException(FaultCodes.GEN_CRITICAL_ERROR, "Error generating RecordSet", e);
         }
      }
View Full Code Here

Examples of com.dbxml.db.core.filer.FilerException

      return "MemFiler";
   }

   private void checkOpened() throws DBException {
      if ( !opened )
         throw new FilerException(FaultCodes.COL_COLLECTION_CLOSED, "Filer is closed");
   }
View Full Code Here

Examples of com.dbxml.db.core.filer.FilerException

         throw new FilerException(FaultCodes.COL_COLLECTION_CLOSED, "Filer is closed");
   }

   private void checkReadOnly() throws DBException {
      if ( readOnly )
         throw new FilerException(FaultCodes.COL_COLLECTION_READ_ONLY, "Filer is read-only");
   }
View Full Code Here

Examples of com.dbxml.db.core.filer.FilerException

      return p;
   }

   protected final void checkOpened() throws DBException {
      if ( !opened )
         throw new FilerException(FaultCodes.COL_COLLECTION_CLOSED, "Filer is closed");
   }
View Full Code Here

Examples of com.dbxml.db.core.filer.FilerException

         reset();

         return true;
      }
      catch ( Exception e ) {
         throw new FilerException(FaultCodes.GEN_CRITICAL_ERROR, "Error creating " + file.getName(), e);
      }
   }
View Full Code Here

Examples of com.dbxml.db.core.filer.FilerException

            openTransactionLog();

         return opened;
      }
      catch ( Exception e ) {
         throw new FilerException(FaultCodes.GEN_CRITICAL_ERROR, "Error opening " + file.getName(), e);
      }
   }
View Full Code Here

Examples of com.dbxml.db.core.filer.FilerException

         }
         else
            return false;
      }
      catch ( Exception e ) {
         throw new FilerException(FaultCodes.GEN_CRITICAL_ERROR, "Error closing " + file.getName(), e);
      }
   }
View Full Code Here

Examples of com.dbxml.db.core.filer.FilerException

            return getFile().delete();
         else
            return true;
      }
      catch ( Exception e ) {
         throw new FilerException(FaultCodes.COL_CANNOT_DROP, "Can't drop " + file.getName(), e);
      }
   }
View Full Code Here

Examples of com.dbxml.db.core.filer.FilerException

      catch ( Exception e ) {
         error = true;
      }

      if ( error )
         throw new FilerException(FaultCodes.GEN_CRITICAL_ERROR, "Error performing flush!");
   }
View Full Code Here

Examples of com.dbxml.db.core.filer.FilerException

      opened = false;
   }

   private void checkOpened() throws DBException {
      if ( !opened )
         throw new FilerException(FaultCodes.COL_COLLECTION_CLOSED, "Filer is closed");
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.