| Summary: | Java Compile error: InvalidIndexException cannot be resolved to a type | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffdouglas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Added the defined exceptions Verified Closing this defect. |
EGL code: library mine {} function tester() try longStr String = "123456789"; shortStr String = longStr[8:12]; SysLib.writeStdOut("this is bad"); onException (oops InvalidIndexException) SysLib.writeStdOut("this is good"); end end end Java error: InvalidIndexException cannot be resolved to a type Java code: catch (InvalidIndexException oops) { JavaScript generates and compiles without error