mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
post-merge fixes
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>mvn-defaults</artifactId>
|
||||
<groupId>io.nosqlbench</groupId>
|
||||
<version>4.15.10-SNAPSHOT</version>
|
||||
<version>4.15.11-SNAPSHOT</version>
|
||||
<relativePath>../mvn-defaults</relativePath>
|
||||
</parent>
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
<dependency>
|
||||
<groupId>io.nosqlbench</groupId>
|
||||
<artifactId>engine-api</artifactId>
|
||||
<version>4.15.10-SNAPSHOT</version>
|
||||
<version>4.15.11-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.nosqlbench</groupId>
|
||||
<artifactId>drivers-api</artifactId>
|
||||
<version>4.15.10-SNAPSHOT</version>
|
||||
<version>4.15.11-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
@@ -7,6 +7,11 @@ public class InvalidStatusCodeException extends RuntimeException {
|
||||
private final Pattern ok_status;
|
||||
private final int statusCode;
|
||||
|
||||
@Override
|
||||
public String getMessage() {
|
||||
return "Server returned status code '" + statusCode + "' which did not match ok_status '" + ok_status.toString() + "'";
|
||||
}
|
||||
|
||||
public InvalidStatusCodeException(long cycleValue, Pattern ok_status, int statusCode) {
|
||||
this.cycleValue = cycleValue;
|
||||
this.ok_status = ok_status;
|
||||
|
||||
Reference in New Issue
Block a user