Skip to main content
deleted 68 characters in body
Source Link
lennon310
  • 3.2k
  • 7
  • 19
  • 35

Has been done in Vala: https://wiki.gnome.org/Projects/Vala/ValaForJavaProgrammers#Exceptions. 

The caveat is that not handling the exceptions in code is a compile-time warning, the idea being that one of the main issues with java checked exceptions is that when prototyping, people tend to catch and ignore the exceptions rather than considering proper error handling. If the error does occur at runtime and has not been handled in code, the default handling logic in Vala is to immediately exit.

Has been done in Vala: https://wiki.gnome.org/Projects/Vala/ValaForJavaProgrammers#Exceptions. The caveat is that not handling the exceptions in code is a compile-time warning, the idea being that one of the main issues with java checked exceptions is that when prototyping, people tend to catch and ignore the exceptions rather than considering proper error handling. If the error does occur at runtime and has not been handled in code, the default handling logic in Vala is to immediately exit.

Has been done in Vala. 

The caveat is that not handling the exceptions in code is a compile-time warning, the idea being that one of the main issues with java checked exceptions is that when prototyping, people tend to catch and ignore the exceptions rather than considering proper error handling. If the error does occur at runtime and has not been handled in code, the default handling logic in Vala is to immediately exit.

Source Link
rhellen
  • 129
  • 2

Has been done in Vala: https://wiki.gnome.org/Projects/Vala/ValaForJavaProgrammers#Exceptions. The caveat is that not handling the exceptions in code is a compile-time warning, the idea being that one of the main issues with java checked exceptions is that when prototyping, people tend to catch and ignore the exceptions rather than considering proper error handling. If the error does occur at runtime and has not been handled in code, the default handling logic in Vala is to immediately exit.