java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.sql.QSqlError
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QSqlError extends QtObject implements Cloneable
SQL database error information
Java wrapper for Qt class QSqlError
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QSqlError.ErrorType
Java wrapper for Qt enum QSqlError::ErrorType -
Constructor Summary
-
Method Summary
Modifier and Type Method Description QSqlError
clone()
String
databaseText()
String
driverText()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
boolean
isValid()
String
nativeErrorCode()
int
number()
Deprecated.void
setDatabaseText(String databaseText)
Deprecated.void
setDriverText(String driverText)
Deprecated.void
setNumber(int number)
Deprecated.void
setType(QSqlError.ErrorType type)
Deprecated.void
swap(QSqlError other)
String
text()
String
toString()
QSqlError.ErrorType
type()
-
Constructor Details
-
QSqlError
-
QSqlError
Overloaded constructor for
QSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
witherrorCode = ""
. -
QSqlError
Overloaded constructor for
QSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
with:
type = io.qt.sql.QSqlError.ErrorType.NoError
errorCode = ""
-
QSqlError
Overloaded constructor for
QSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
with:
databaseText = ""
type = io.qt.sql.QSqlError.ErrorType.NoError
errorCode = ""
-
QSqlError
public QSqlError()Overloaded constructor for
QSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
with:
driverText = ""
databaseText = ""
type = io.qt.sql.QSqlError.ErrorType.NoError
errorCode = ""
-
QSqlError
public QSqlError(String driverText, String databaseText, QSqlError.ErrorType type, String errorCode) -
QSqlError
@Deprecated public QSqlError(String driverText, String databaseText, QSqlError.ErrorType type, int number)Deprecated. -
QSqlError
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
databaseText
-
driverText
-
isValid
-
nativeErrorCode
-
number
Deprecated. -
setDatabaseText
Deprecated. -
setDriverText
Deprecated. -
setNumber
Deprecated. -
setType
Deprecated. -
swap
-
text
-
type
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-