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
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