Opened 16 years ago
Closed 16 years ago
#265 closed defect (fixed)
ModelBuilder runtime exception
| Reported by: | Stephen Siegel | Owned by: | zirkel |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1 |
| Component: | front | Version: | 1.1 |
| Keywords: | main exception syntax | Cc: |
Description (last modified by )
This should be changed to a SyntaxException...
if (hasMainFunction == false) {
throw new RuntimeException(
"The program must have a main function as an entry point.");
}
Also, it should print out the file name.
Need to get rid of all RuntimeExceptions in front end and replace with SyntaxExceptions.
Change History (3)
comment:1 by , 16 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 16 years ago
| Owner: | set to |
|---|---|
| Status: | new → accepted |
comment:3 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
