Commit 57efb0d
committed
Throw a better exception when factory not found
Previously, if a script engine is requested and not found, the
findFactory method would return null, which would then get handed to the
other constructor, which would then throw NullPointerException with no
explanation of what the problem is.1 parent 6e29c47 commit 57efb0d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
0 commit comments