Planet JFX
Advertisement

Throw Arbitrary Objects[]

  • Throw of arbitrary objects (automatically wrapped in JavaFX exceptions) vs explicit Java exceptions was briefly discussed.
  • Wrapping is problematic if programmatic access to stack traces is needed -- either wrapper exception could be exposed or other mechanisms provided.
  • Throw of anything is simpler and familiar to javascript programmers.
  • No consensus.


Back to OpenJFX Compiler

Advertisement