microsoft / mssql-jdbc

@@ -155,7 +155,7 @@
Loading
155 155
    SharedTimer getSharedTimer() throws SQLServerException {
156 156
        if (state == State.Closed) {
157 157
            SQLServerException.makeFromDriverError(null, null, SQLServerException.getErrString("R_connectionIsClosed"),
158 -
                    null, false);
158 +
                    SQLServerException.EXCEPTION_XOPEN_CONNECTION_FAILURE, false);
159 159
        }
160 160
        if (null == sharedTimer) {
161 161
            this.sharedTimer = SharedTimer.getTimer();
@@ -1167,7 +1167,7 @@
Loading
1167 1167
    void checkClosed() throws SQLServerException {
1168 1168
        if (isSessionUnAvailable()) {
1169 1169
            SQLServerException.makeFromDriverError(null, null, SQLServerException.getErrString("R_connectionIsClosed"),
1170 -
                    null, false);
1170 +
                    SQLServerException.EXCEPTION_XOPEN_CONNECTION_FAILURE, false);
1171 1171
        }
1172 1172
    }
1173 1173

@@ -72,7 +72,7 @@
Loading
72 72
    void checkClosed() throws SQLServerException {
73 73
        if (!bIsOpen) {
74 74
            SQLServerException.makeFromDriverError(null, null, SQLServerException.getErrString("R_connectionIsClosed"),
75 -
                    null, false);
75 +
                    SQLServerException.EXCEPTION_XOPEN_CONNECTION_FAILURE, false);
76 76
        }
77 77
    }
78 78
Files Complexity Coverage
src/main/java 44.33% 58.31%
Project Totals (133 files) 44.33% 58.31%
1
codecov:
2
  branch: dev
3
  notify:
4
    require_ci_to_pass: false
5
  coverage:
6
  	range: "10...100"
7
  comment:
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading