java.lang.Object
io.qt.QtObject
io.qt.sql.QSqlError
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
SQL database error information
Java wrapper for Qt's class QSqlError
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
Overloaded constructor forQSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
Overloaded constructor forQSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
QSqlError
(String driverText, String databaseText, QSqlError.ErrorType type) Overloaded constructor forQSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
witherrorCode = (String)null
.QSqlError
(String driverText, String databaseText, QSqlError.ErrorType type, int number) Deprecated.QSqlError
(String driverText, String databaseText, QSqlError.ErrorType type, String errorCode) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
clone()
final String
final String
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final boolean
isValid()
final String
final int
number()
Deprecated.final void
setDatabaseText
(String databaseText) Deprecated.final void
setDriverText
(String driverText) Deprecated.final void
setNumber
(int number) Deprecated.final void
setType
(QSqlError.ErrorType type) Deprecated.final void
final String
text()
toString()
final QSqlError.ErrorType
type()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSqlError
-
QSqlError
Overloaded constructor for
QSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
witherrorCode = (String)null
. -
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 = (String)null
-
QSqlError
Overloaded constructor for
QSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
with:
databaseText = (String)null
type = io.qt.sql.QSqlError.ErrorType.NoError
errorCode = (String)null
-
QSqlError
public QSqlError()Overloaded constructor for
QSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
with:
driverText = (String)null
databaseText = (String)null
type = io.qt.sql.QSqlError.ErrorType.NoError
errorCode = (String)null
-
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. -
assign
-
setDatabaseText
Deprecated. -
setDriverText
Deprecated. -
setNumber
Deprecated. -
setType
Deprecated. -
swap
-
text
-
type
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-