| Summary: | IllegalArgumentException for incomplete catch block | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Benjamin Schwertfeger <benjamin.schwertfeger> | ||||
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | sven.efftinge | ||||
| Version: | 2.0.1 | Flags: | sven.efftinge:
indigo+
|
||||
| Target Milestone: | SR2 | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 203608 [details]
Error if no type is set in the CatchClause
I have introduced a rule 'FullJvmFormalParameter' with mandatory type. This is also useful for clients to be reused. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
The following statement does not show an error in the xtend file, but leads to an IllegalArgumentException in TypeReferenceSerializer. The error is thrown by the generator if the file is build and no artifact is generated. try { } catch (IOException) { } Expected: The file should show an error because of missing variable name.