-
public interface DatabaseErrorHandler
An interface to let apps define an action to take when database corruption is detected.
-
-
Method Summary
Modifier and Type Method Description abstract void
onCorruption(SQLiteDatabase dbObj, SQLiteException exception)
The method invoked when database corruption is detected. -
-
Method Detail
-
onCorruption
abstract void onCorruption(SQLiteDatabase dbObj, SQLiteException exception)
The method invoked when database corruption is detected.
- Parameters:
dbObj
- the SQLiteDatabase object representing the database on which corruptionis detected.exception
- the exception reported by sqlite that indicated the database was corrupted.
-
-
-
-