Package io.objectbox.exception
Class DbException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.objectbox.exception.DbException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConstraintViolationException
,DbDetachedException
,DbFullException
,DbMaxDataSizeExceededException
,DbMaxReadersExceededException
,DbSchemaException
,DbShutdownException
,FeatureNotAvailableException
,FileCorruptException
,NonUniqueResultException
,NumericOverflowException
General exception for things that may go wrong with the database.
Also base class for more concrete exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDbException
(String message) DbException
(String message, int errorCode) DbException
(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace