Package net.pterodactylus.util.config

Examples of net.pterodactylus.util.config.ConfigurationException


      return null;
    }
    try {
      return Double.valueOf(pluginStore.strings.get(attribute));
    } catch (NumberFormatException nfe1) {
      throw new ConfigurationException("Could not parse “" + stringValue + "”.", nfe1);
    }
  }
View Full Code Here


  @Override
  public void save() throws ConfigurationException {
    try {
      pluginRespirator.putStore(pluginStore);
    } catch (DatabaseDisabledException dde1) {
      throw new ConfigurationException("Could not store plugin store, database is disabled.", dde1);
    }
  }
View Full Code Here

TOP

Related Classes of net.pterodactylus.util.config.ConfigurationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.