Browse Source

Error on build PTA from GUI.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2327 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 15 years ago
parent
commit
17805f1eba
  1. 4
      prism/src/prism/Prism.java

4
prism/src/prism/Prism.java

@ -975,6 +975,10 @@ public class Prism implements PrismSettingsListener
long l; // timer
Model model;
if (modulesFile.getModelType() == ModelType.PTA) {
throw new PrismException("You cannot build a PTA model explicitly, only perform model checking");
}
mainLog.print("\nBuilding model");
if (msg != null) if (msg.length() > 0) mainLog.print(" (" + msg + ")");
mainLog.print("...\n");

Loading…
Cancel
Save