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

SQLException

public class SQLException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.database.SQLException


An exception that indicates there was an error with SQL parsing or execution.

Summary

Public constructors

SQLException()
SQLException(String error)
SQLException(String error, Throwable cause)

Inherited methods

Public constructors

SQLException

added in API level 1
public SQLException ()

SQLException

added in API level 1
public SQLException (String error)

Parameters
error String

SQLException

added in API level 16
public SQLException (String error, 
                Throwable cause)

Parameters
error String

cause Throwable