Skip to content

Commit bf03629

Browse files
committed
Error message tweak.
1 parent 32e5b78 commit bf03629

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

prism/src/parser/VarList.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ else if (type instanceof TypeBool) {
351351
}
352352
// Anything else
353353
else {
354-
throw new PrismLangException("Unknown type " + type + " for variable " + getName(i));
354+
throw new PrismLangException("Unsupported type " + type + " for variable " + getName(i));
355355
}
356356
} catch (ClassCastException e) {
357357
throw new PrismLangException("Value " + val + " is wrong type for variable " + getName(i));
@@ -388,7 +388,7 @@ else if (s.equals("false"))
388388
}
389389
// Anything else
390390
else {
391-
throw new PrismLangException("Unknown type " + type + " for variable " + getName(i));
391+
throw new PrismLangException("Unsupported type " + type + " for variable " + getName(i));
392392
}
393393
}
394394

0 commit comments

Comments
 (0)