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
Constructors Modifier Constructor Description QSqlError()
Overloaded constructor forQSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
protected
QSqlError(QtObject.QPrivateConstructor p)
Constructor for internal use only.QSqlError(QSqlError other)
QSqlError(String driverText)
Overloaded constructor forQSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
QSqlError(String driverText, String databaseText)
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 = ""
.QSqlError(String driverText, String databaseText, QSqlError.ErrorType type, String errorCode)
-
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()
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
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
databaseText
-
driverText
-
isValid
-
nativeErrorCode
-
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
-