VariableModel.java:220:30:220:40: Caution: This try block cannot throw a "checked exception" (JLS section 14.7) that can be caught here. You may have intended to catch a RuntimeException instead of an Exception.
This commit is contained in:
igor%mir2.org 2002-04-06 17:33:33 +00:00
Родитель ca9f68309b
Коммит 760e4b4196
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -217,7 +217,7 @@ class VariableNode {
} else {
try {
result = ScriptableObject.getProperty(scope, name);
} catch (Exception e) {
} catch (RuntimeException e) {
result = e.getMessage();
}
}