Optimize Exception signaling
daumayr opened this issue · 2 comments
daumayr commented
Build a nice exception thrower in Java to avoid helpers in SOMns code.
Introduction of new Exception classes (and throwing them from the Java side) should be clean and easy to do.
smarr commented
TODO:
- make sure all
signalNotAValueWith:
errors and similar use only the class of the brokenValue
, but don't let the invalidValue
object escape. We can't allow references to invalid objects to exist - make sure we use constant
SSymbol
objects everywhere, the string conversion is just overhead
clementbera commented
Attempted to fix in PR:
#251