This was done quickly and without much care, but I added a JavaCallError and replaced most of the error calls with throw(JavaCallError(str)).
This should fix the issue where @error wasn't throwing errors in the places where originally intended and also do a tiny bit to pave the way for more proper error handling (i.e. coexistence of Julia and Java errors).
This was done quickly and without much care, but I added a
JavaCallError
and replaced most of the error calls withthrow(JavaCallError(str))
.This should fix the issue where
@error
wasn't throwing errors in the places where originally intended and also do a tiny bit to pave the way for more proper error handling (i.e. coexistence of Julia and Java errors).