diff --git a/prism/src/prism/Prism.java b/prism/src/prism/Prism.java index c63d419f..56af142b 100644 --- a/prism/src/prism/Prism.java +++ b/prism/src/prism/Prism.java @@ -1884,7 +1884,7 @@ public class Prism extends PrismComponent implements PrismSettingsListener currentModel = expf2mtbdd.build(explicitFilesStatesFile, explicitFilesTransFile, explicitFilesLabelsFile, currentModulesFile, explicitFilesNumStates); } else { - throw new PrismException("Explicit import not yet supported for explicit engine"); + throw new PrismNotSupportedException("Explicit import not yet supported for explicit engine"); } break; default: @@ -2086,7 +2086,7 @@ public class Prism extends PrismComponent implements PrismSettingsListener JDDNode tmp; if (getExplicit()) - throw new PrismException("Export to Spy file not yet supported by explicit engine"); + throw new PrismNotSupportedException("Export to Spy file not yet supported by explicit engine"); // Build model, if necessary buildModelIfRequired(); @@ -2117,7 +2117,7 @@ public class Prism extends PrismComponent implements PrismSettingsListener public void exportToDotFile(File file) throws FileNotFoundException, PrismException { if (getExplicit()) - throw new PrismException("Export to Dot file not yet supported by explicit engine"); + throw new PrismNotSupportedException("Export to Dot file not yet supported by explicit engine"); // Build model, if necessary buildModelIfRequired(); @@ -2180,7 +2180,7 @@ public class Prism extends PrismComponent implements PrismSettingsListener currentModelExpl.exportToPrismExplicitTra(tmpLog); break; case Prism.EXPORT_MATLAB: - throw new PrismException("Export not yet supported"); + throw new PrismNotSupportedException("Export not yet supported"); case Prism.EXPORT_DOT: currentModelExpl.exportToDotFile(tmpLog); break; @@ -2189,7 +2189,7 @@ public class Prism extends PrismComponent implements PrismSettingsListener break; case Prism.EXPORT_MRMC: case Prism.EXPORT_ROWS: - throw new PrismException("Export not yet supported"); + throw new PrismNotSupportedException("Export not yet supported"); } tmpLog.close(); } @@ -2222,7 +2222,7 @@ public class Prism extends PrismComponent implements PrismSettingsListener String s; if (getExplicit()) - throw new PrismException("Export of state rewards not yet supported by explicit engine"); + throw new PrismNotSupportedException("Export of state rewards not yet supported by explicit engine"); // rows format does not apply to vectors if (exportType == EXPORT_ROWS)