Package freenet.config

Examples of freenet.config.OptionFormatException


    public void set(String val) throws InvalidConfigValueException {
      LoggerHookChain chain = Logger.getChain();
      try {
        chain.setThreshold(val);
      } catch (LoggerHook.InvalidThresholdException e) {
        throw new OptionFormatException(e.getMessage());
      }
    }
View Full Code Here


            if (val.equals(logRotateInterval)) return;
            if (fileLoggerHook != null) {
              try {
                fileLoggerHook.setInterval(val);
              } catch (FileLoggerHook.IntervalParseException e) {
                throw new OptionFormatException(e.getMessage());
              }
            }
            logRotateInterval = val;
          }
        });
View Full Code Here

TOP

Related Classes of freenet.config.OptionFormatException

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.