|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpt.moredata.dao.DataBaseError
Faz o mapping de erros especificos devolvidos pelo driver de JDBC para erros especificos deste package. Company MoreData
| Field Summary | |
static int |
DUPLICATE_INDEX
Definição de constantes que permitem identificar erros standard |
static int |
FK_NOT_FOUND
|
static int |
INFORMIX
Tipos de SGBD |
static int |
INVALID_DATA_TYPE
|
static int |
KEY_VALUE_STILL_REF
|
static int |
MY_SQL
|
static int |
NOT_FOUND
|
static int |
NOT_NULL
|
static int |
NOT_UNIQUE
|
static int |
ORACLE
|
| Constructor Summary | |
DataBaseError()
|
|
| Method Summary | |
static java.lang.String |
getErrorMessage(int sgbdError,
int SGBDType)
Devolve a mensagem de erro correspondente a um codigo de erro SQL. |
static int |
getSQLError(int sgbdError)
|
static int |
getSQLError(int sgbdError,
int SGBDType)
Devolve o erro de SQL relativo ao package da Despodata correspondente a determinado erro de SQL |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int DUPLICATE_INDEX
public static final int NOT_NULL
public static final int NOT_UNIQUE
public static final int FK_NOT_FOUND
public static final int KEY_VALUE_STILL_REF
public static final int INVALID_DATA_TYPE
public static final int NOT_FOUND
public static final int INFORMIX
public static final int ORACLE
public static final int MY_SQL
| Constructor Detail |
public DataBaseError()
| Method Detail |
public static int getSQLError(int sgbdError)
public static int getSQLError(int sgbdError,
int SGBDType)
public static java.lang.String getErrorMessage(int sgbdError,
int SGBDType)
sgbdError - Erro ocorrido.SGBDType - Tipo de base de dados onde ocorreu o erro.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||