Is there a way to make the compiler emit a warning when building source code that is compiled to a native platform like Apple which throws unchecked exceptions? The
@Throws
annotation can be included, but it’s really easy to forget and end up with unchecked exceptions crashing your program.