io.nosqlbench.nb.api.OnError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of driver-cql-shaded Show documentation
Show all versions of driver-cql-shaded Show documentation
A Shaded CQL ActivityType driver for http://nosqlbench.io/
package io.nosqlbench.nb.api;
public enum OnError {
Warn,
Throw;
public static OnError valueOfName(String name) {
for (OnError value : OnError.values()) {
if (value.toString().toLowerCase().equals(name.toLowerCase())) {
return value;
}
}
throw new RuntimeException("No matching OnError enum value for '" + name + "'");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy