Package com.db4o.ext

Class 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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DatabaseMaximumSizeReachedException

        public DatabaseMaximumSizeReachedException​(int size)