lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 1

SQLiteConstraintException

public class SQLiteConstraintException
extends SQLiteException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.database.SQLException
           ↳ android.database.sqlite.SQLiteException
             ↳ android.database.sqlite.SQLiteConstraintException


An exception that indicates that an integrity constraint was violated.

Summary

Public constructors

SQLiteConstraintException()
SQLiteConstraintException(String error)

Inherited methods

Public constructors

SQLiteConstraintException

added in API level 1
public SQLiteConstraintException ()

SQLiteConstraintException

added in API level 1
public SQLiteConstraintException (String error)

Parameters
error String