Most visited

Recently visited

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


表示完整性约束被违反的例外。

Summary

Public constructors

SQLiteConstraintException()
SQLiteConstraintException(String error)

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

SQLiteConstraintException

Added in API level 1
SQLiteConstraintException ()

SQLiteConstraintException

Added in API level 1
SQLiteConstraintException (String error)

Parameters
error String

Hooray!