Class SqlJetException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.tmatesoft.sqljet.core.SqlJetException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SqlJetIOException

public class SqlJetException extends Exception
SqlJet exception wraps error code SqlJetErrorCode
See Also:
  • Constructor Details

    • SqlJetException

      public SqlJetException(SqlJetErrorCode errorCode)
      Create SqlJet exception with given error code.
      Parameters:
      errorCode - the error code.
    • SqlJetException

      public SqlJetException(SqlJetErrorCode errorCode, String message)
      Create SqlJet exception with given error code and message.
      Parameters:
      errorCode - the error code.
      message - the message string.
    • SqlJetException

      public SqlJetException(SqlJetErrorCode errorCode, Throwable cause)
      Create SqlJet exception with given error code and reason.
      Parameters:
      errorCode - the error code.
      cause - the reason.
    • SqlJetException

      public SqlJetException(SqlJetErrorCode errorCode, String message, Throwable cause)
      Create SqlJet exception with given error code and reason.
      Parameters:
      errorCode - the error code.
      message - the error message.
      cause - exception that caused this exception.
    • SqlJetException

      public SqlJetException(String message)
      Create SqlJet exception with error code SqlJetErrorCode.MISUSE and given message.
      Parameters:
      message - the message string.
    • SqlJetException

      public SqlJetException(Throwable cause)
      Create SqlJet exception with error code SqlJetErrorCode.MISUSE and given reason.
      Parameters:
      cause - the reason.
    • SqlJetException

      public SqlJetException(String message, Throwable cause)
      Create SqlJet exception with error code SqlJetErrorCode.MISUSE and given message and reason.
      Parameters:
      message - the message string
      cause - the reason.
  • Method Details