Planet JFX

Throw Arbitrary Objects

118pages on
this wiki
Add New Page
Add New Page Talk0

Throw Arbitrary Objects Edit

  • 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

Also on Fandom

Random Wiki