Package krasa.formatter.plugin

Examples of krasa.formatter.plugin.InvalidPropertyFile


          }
        }
      }
    } catch (Exception e) {
      LOG.error("file: " + file.getAbsolutePath() + ", profile: " + profile, e);
      throw new InvalidPropertyFile(e.getMessage(), e);
    }
    if (!profileFound) {
      throw new IllegalStateException("profile not found in the file");
    }
    if (properties.size() == defaultSize) {
View Full Code Here


    }
  }

  protected void validateConfig(Properties config, File file) {
    if (config.isEmpty()) {
      throw new InvalidPropertyFile(file);
    }
  }
View Full Code Here

TOP

Related Classes of krasa.formatter.plugin.InvalidPropertyFile

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.