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:
java.io.Serializable
public class DbFullException extends DbException
Thrown when applying a database operation would exceed the (default)maxSizeInKByteconfigured 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 smaller than the existing database.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DbFullException(java.lang.String message)DbFullException(java.lang.String message, int errorCode)
-
Method Summary
-
Methods inherited from class io.objectbox.exception.DbException
getErrorCode, toString
-
-