org.scassandra.http.client.ErrorMessageConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Allows Java applications to use Scassandra
package org.scassandra.http.client;
import java.util.Map;
import com.google.common.collect.ImmutableMap;
import org.scassandra.server.priming.ErrorConstants;
public class ErrorMessageConfig extends Config {
private final String message;
public ErrorMessageConfig(String message) {
this.message = message;
}
@Override
Map getProperties() {
return ImmutableMap.of(ErrorConstants.Message(), message);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy