Package com.db4o.ext
Class DatabaseMaximumSizeReachedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.db4o.foundation.ChainedRuntimeException
-
- com.db4o.ext.Db4oException
-
- com.db4o.ext.Db4oRecoverableException
-
- com.db4o.ext.DatabaseMaximumSizeReachedException
-
- All Implemented Interfaces:
java.io.Serializable
public class DatabaseMaximumSizeReachedException extends Db4oRecoverableException
db4o-specific exception.
This exception is thrown when the database file reaches the maximum allowed size. Upon throwing the exception the database is switched to the read-only mode.
The maximum database size is configurable and can reach up to 254GB.- See Also:
Configuration.blockSize(int)
, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.db4o.foundation.ChainedRuntimeException
ChainedRuntimeException.ChainedRuntimeExceptionMixin
-
-
Constructor Summary
Constructors Constructor Description DatabaseMaximumSizeReachedException(int size)
-