Package com.db4o.ext
Class DatabaseFileLockedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.db4o.foundation.ChainedRuntimeException
-
- com.db4o.ext.Db4oException
-
- com.db4o.ext.Db4oFatalException
-
- 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
ChainedRuntimeException.ChainedRuntimeExceptionMixin
-
-
Constructor Summary
Constructors Constructor Description DatabaseFileLockedException(java.lang.String databaseDescription)
Constructor with a database description messageDatabaseFileLockedException(java.lang.String databaseDescription, java.lang.Throwable cause)
Constructor with a database description and cause exception
-
-
-
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 descriptioncause
- previous exception caused DatabaseFileLockedException
-
-