public class SqlJetException
extends java.lang.Exception
SqlJetErrorCode
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
SqlJetErrorCode |
getErrorCode()
Get error code.
|
java.lang.String |
getMessage() |
java.lang.String |
toString() |
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.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
Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.