Package fitnesse.wiki

Examples of fitnesse.wiki.NoSuchVersionException


    }

    public FileVersion[] getRevisionData(String versionName) {
      FileVersion[] version = versions.get(versionName);
      if (version == null)
        throw new NoSuchVersionException("There is no version '" + versionName + "'");

      return version;
    }
View Full Code Here


    if (label == null) {
      return persistence.getRevisionData(null, files);
    }
    final File file = new File(files[0].getParentFile(), label + ".zip");
    if (!file.exists()) {
      throw new NoSuchVersionException("There is no version '" + label + "'");
    }

    ZipFile zipFile = null;
    FileVersion[] versions = new FileVersion[files.length];
    int counter = 0;
View Full Code Here

TOP

Related Classes of fitnesse.wiki.NoSuchVersionException

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.