java.lang.Object | |
↳ | android.database.DefaultDatabaseErrorHandler |
Default class used to define the actions to take when the database corruption is reported by sqlite.
An application can specify an implementation of DatabaseErrorHandler
on the
following:
openOrCreateDatabase(String, android.database.sqlite.SQLiteDatabase.CursorFactory, DatabaseErrorHandler)
openDatabase(String, android.database.sqlite.SQLiteDatabase.CursorFactory, int, DatabaseErrorHandler)
DatabaseErrorHandler
is used to handle database corruption errors, if they
occur.
If null is specified for DatabaeErrorHandler param in the above calls, then this class is used
as the default DatabaseErrorHandler
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
defines the default method to be invoked when database corruption is detected.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.database.DatabaseErrorHandler
|
defines the default method to be invoked when database corruption is detected.
dbObj | the SQLiteDatabase object representing the database on which corruption
is detected.
|
---|