/// <summary> /// Public constructor for generating a SQLite error given the base error code /// </summary> /// <param name="errorCode">The SQLite error code to report</param> /// <param name="extendedInformation">Extra text to go along with the error message text</param> public SqliteException(int errorCode, string extendedInformation) : base(GetStockErrorMessage(errorCode, extendedInformation)) { _errorCode = (SqliteErrorCode)errorCode; }