| Summary: | [Interpreter] Exception handling for script engine | ||
|---|---|---|---|
| Product: | [Modeling] EMFT.Henshin | Reporter: | Christian Krause <henshin.ck> |
| Component: | Interpreter | Assignee: | Enrico Biermann <enrico> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Christian Krause
I added RuntimeExceptions to failed ScriptEngine evaluations. As for initialization errors on the script engine itself, which systems have problems with initializing the engine? I experienced this problem on my netbook running Gentoo. I haven't figured out yet why the engine is not found. Anyway, it can happen and if it does it is better to throw a runtime exception saying 'Error initializing script engine' than a NPE at some point during the execution. (In reply to comment #1) > I added RuntimeExceptions to failed ScriptEngine evaluations. > > As for initialization errors on the script engine itself, which systems have > problems with initializing the engine? Already fixed |