db4o 7.12

com.db4o.ext
Class DatabaseFileLockedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.db4o.foundation.ChainedRuntimeException
                  extended by com.db4o.ext.Db4oException
                      extended by com.db4o.ext.Db4oFatalException
                          extended by com.db4o.ext.DatabaseFileLockedException
All Implemented Interfaces:
java.io.Serializable

public class DatabaseFileLockedException
extends Db4oFatalException

db4o-specific exception.

this Exception is thrown during any of the db4o open calls if the database file is locked by another process.

See Also:
Db4o.openFile(java.lang.String), Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.db4o.foundation.ChainedRuntimeException
com.db4o.foundation.ChainedRuntimeException.ChainedRuntimeExceptionMixin
 
Constructor Summary
DatabaseFileLockedException(java.lang.String databaseDescription)
          Constructor with a database description message
DatabaseFileLockedException(java.lang.String databaseDescription, java.lang.Throwable cause)
          Constructor with a database description and cause exception
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseFileLockedException

public DatabaseFileLockedException(java.lang.String databaseDescription)
Constructor with a database description message

Parameters:
databaseDescription - message, which can help to identify the database

DatabaseFileLockedException

public DatabaseFileLockedException(java.lang.String databaseDescription,
                                   java.lang.Throwable cause)
Constructor with a database description and cause exception

Parameters:
databaseDescription - database description
cause - previous exception caused DatabaseFileLockedException

db4o 7.12

Copyright 2009 Versant Corporation. All rights reserved.