DatabaseException class

Database exception.

Implemented types

Constructors

DatabaseException.badParam(String _message)
Creates a bad param exception.
DatabaseException.closed([String _message = 'database is closed'])
Creates a database closed exception.
DatabaseException.databaseNotFound(String _message)
Creates a database not found exception.
DatabaseException.invalidCodec(String _message)
Creates an invalid codec exception.

Properties

code int
Database exception code.
no setter
hashCode int
The hash code for this object.
no setterinherited
message String
Database exception message.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

errBadParam int
Bad parameters
getter/setter pair
errDatabaseClosed int
This is sent when an action happen after the database was closed.
getter/setter pair
errDatabaseNotFound int
Database could not be found
getter/setter pair
errInvalidCodec int
This is sent if the codec used does not match the one of the database
getter/setter pair