|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Enum
com.trolltech.qt.sql.QSqlError.ErrorType
public static final class QSqlError.ErrorType
This enum type describes the context in which the error occurred, e.g., a connection error, a statement error, etc.
| Field Summary | |
|---|---|
static QSqlError.ErrorType |
ConnectionError
Connection error. |
static QSqlError.ErrorType |
NoError
No error occurred. |
static QSqlError.ErrorType |
StatementError
SQL statement syntax error. |
static QSqlError.ErrorType |
TransactionError
Transaction failed error. |
static QSqlError.ErrorType |
UnknownError
Unknown error. |
| Method Summary | |
|---|---|
static QSqlError.ErrorType |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QSqlError.ErrorType |
valueOf(java.lang.String name)
|
static QSqlError.ErrorType[] |
values()
|
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final QSqlError.ErrorType NoError
public static final QSqlError.ErrorType ConnectionError
public static final QSqlError.ErrorType StatementError
public static final QSqlError.ErrorType TransactionError
public static final QSqlError.ErrorType UnknownError
| Method Detail |
|---|
public static QSqlError.ErrorType[] values()
public static QSqlError.ErrorType valueOf(java.lang.String name)
public int value()
value in interface QtEnumeratorpublic static QSqlError.ErrorType resolve(int value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||