Search in sources :

Example 1 with ReflectException

use of com.quorum.tessera.reflect.ReflectException in project tessera by ConsenSys.

the class TesseraCommand method overrideConfigValue.

private void overrideConfigValue(String target, String newValue) {
    LOGGER.debug("Setting : {} with value(s) {}", target, newValue);
    try {
        OverrideUtil.setValue(config, target, newValue);
    } catch (ReflectException ex) {
        throw new CliException(ex.getMessage());
    }
    LOGGER.debug("Set : {} with value(s) {}", target, newValue);
}
Also used : CliException(com.quorum.tessera.cli.CliException) ReflectException(com.quorum.tessera.reflect.ReflectException)

Aggregations

CliException (com.quorum.tessera.cli.CliException)1 ReflectException (com.quorum.tessera.reflect.ReflectException)1