db4o 6.3

com.db4o
Class DatabaseFileLockedException

java.lang.Object
  extended by ChainedRuntimeException
      extended by com.db4o.ext.Db4oException
          extended by com.db4o.DatabaseFileLockedException

public class DatabaseFileLockedException
extends Db4oException

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)

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.Object
equals, getClass, hashCode, notify, notifyAll, toString, 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 6.3