Kray-G/kinx

Incorrect message is displayed when `File.open` failed.

Kray-G opened this issue · 0 comments

For example, when you specify the file which doesn't exist.

File.open("no-file", File.READ) {};

The exception which is different from what we have expected occurs.

Uncaught exception: No one catch the exception.
SystemException: Method missing
Stack Trace Information:
        at <main-block>((unknown):1)

What we expect is like this.

Uncaught exception: No one catch the exception.
FileException: File open failed: No such file or directory
Stack Trace Information:
        at <main-block>((unknown):1)