|
SQLJet Home | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.tmatesoft.sqljet.core.SqlJetException
public class SqlJetException
SqlJet exception wraps error code SqlJetErrorCode
Constructor Summary | |
---|---|
SqlJetException(SqlJetErrorCode errorCode)
Create SqlJet exception with given error code. |
|
SqlJetException(SqlJetErrorCode errorCode,
java.lang.String message)
Create SqlJet exception with given error code and message. |
|
SqlJetException(SqlJetErrorCode errorCode,
java.lang.String message,
java.lang.Throwable cause)
Create SqlJet exception with given error code and reason. |
|
SqlJetException(SqlJetErrorCode errorCode,
java.lang.Throwable cause)
Create SqlJet exception with given error code and reason. |
|
SqlJetException(java.lang.String message)
Create SqlJet exception with error code SqlJetErrorCode.MISUSE
and given message. |
|
SqlJetException(java.lang.String message,
java.lang.Throwable cause)
Create SqlJet exception with error code SqlJetErrorCode.MISUSE
and given message and reason. |
|
SqlJetException(java.lang.Throwable cause)
Create SqlJet exception with error code SqlJetErrorCode.MISUSE
and given reason. |
Method Summary | |
---|---|
SqlJetErrorCode |
getErrorCode()
Get error code. |
java.lang.String |
getMessage()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SqlJetException(SqlJetErrorCode errorCode)
errorCode
- the error code.public SqlJetException(SqlJetErrorCode errorCode, java.lang.String message)
errorCode
- the error code.message
- the message string.public SqlJetException(SqlJetErrorCode errorCode, java.lang.Throwable cause)
errorCode
- the error code.cause
- the reason.public SqlJetException(SqlJetErrorCode errorCode, java.lang.String message, java.lang.Throwable cause)
errorCode
- the error code.message
- the error message.cause
- exception that caused this exception.public SqlJetException(java.lang.String message)
SqlJetErrorCode.MISUSE
and given message.
message
- the message string.public SqlJetException(java.lang.Throwable cause)
SqlJetErrorCode.MISUSE
and given reason.
cause
- the reason.public SqlJetException(java.lang.String message, java.lang.Throwable cause)
SqlJetErrorCode.MISUSE
and given message and reason.
message
- the message stringcause
- the reason.Method Detail |
---|
public SqlJetErrorCode getErrorCode()
public java.lang.String toString()
toString
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
SQLJet Home | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |