|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
pt.moredata.dao.DataBaseException
Title: DataBaseException Description: Excepções ocorridas quando uma acção sobre a base de dados devolve um erro Company MoreData
| Constructor Summary | |
DataBaseException(java.lang.String message,
java.sql.SQLException _sqlException,
java.lang.Object exceptionSource)
|
|
| Method Summary | |
java.lang.String |
getDetailedMessage()
Devolve uma mensagem detalhada do tipo de erros especifico das API(s) ddata. |
int |
getErrorCode()
devolve o codigo de erro SQL. |
java.lang.String |
getErrorMessage()
Devolve mensagem especifica do tipo de erros especifico das API(s) ddata |
int |
getErrorType()
Devolve o tipo de erros especifico das API(s) ddata |
java.sql.SQLException |
getSQLException()
Devolve a SQLException usada para criar esta excepcao. |
java.lang.String |
getSQLState()
Devolve o SQL state da excepção |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DataBaseException(java.lang.String message,
java.sql.SQLException _sqlException,
java.lang.Object exceptionSource)
message - Mensagem especifica_sqlException - Referência para a excepção de SQL ocorrida| Method Detail |
public int getErrorType()
public java.lang.String getErrorMessage()
public java.lang.String getDetailedMessage()
public java.lang.String getSQLState()
public int getErrorCode()
public java.sql.SQLException getSQLException()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||