Package com.dbxml.db.core.filer

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


      return "MemFiler";
   }

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

         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

      return p;
   }

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

         reset();

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

            openTransactionLog();

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

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

            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

      catch ( Exception e ) {
         error = true;
      }

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

      opened = false;
   }

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

TOP

Related Classes of com.dbxml.db.core.filer.FilerException

Copyright © 2018 www.massapicom. 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.