Package io.objectbox.exception
Class DbFullException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.objectbox.exception.DbException
io.objectbox.exception.DbFullException
- All Implemented Interfaces:
Serializable
Thrown when applying a database operation would exceed the (default)
maxSizeInKByte
configured for the Store.
This can occur for operations like when an Object is put
, at the point when the
(internal) transaction is committed. Or when the Store is opened with a max size too small for the existing database.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDbFullException
(String message) DbFullException
(String message, int errorCode) -
Method Summary
Methods inherited from class io.objectbox.exception.DbException
getErrorCode, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
DbFullException
-
DbFullException
-