Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make SQLServerException constructors public #334

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,14 @@ static String getErrString(String errCode) {
* @param cause
* The exception that caused this exception
*/
SQLServerException(String errText,
public SQLServerException(String errText,
SQLState sqlState,
DriverError driverError,
Throwable cause) {
this(errText, sqlState.getSQLStateCode(), driverError.getErrorCode(), cause);
}

SQLServerException(String errText,
public SQLServerException(String errText,
String errState,
int errNum,
Throwable cause) {
Expand All @@ -149,15 +149,15 @@ static String getErrString(String errCode) {
ActivityCorrelator.setCurrentActivityIdSentFlag(); // set the activityid flag so that we don't send the current ActivityId later.
}

SQLServerException(String errText,
public SQLServerException(String errText,
Throwable cause) {
super(errText);
initCause(cause);
logException(null, errText, true);
ActivityCorrelator.setCurrentActivityIdSentFlag();
}

/* L0 */ SQLServerException(Object obj,
/* L0 */ public SQLServerException(Object obj,
String errText,
String errState,
int errNum,
Expand All @@ -180,7 +180,7 @@ static String getErrString(String errCode) {
* @param bStack
* true to generate the stack trace
*/
/* L0 */ SQLServerException(Object obj,
/* L0 */ public SQLServerException(Object obj,
String errText,
String errState,
StreamError streamError,
Expand Down