Icom
June 7, 2020, 10:58pm
16
Hi again,
Here is what I did:
In my bouton:
In my Named Query:
But I have this error:
Looking in the internet: I found this:
I have a situation where I need to handle an exception due to an ArrayIndexOutOfBoundsException. In the manual, it says that this can be called out for an exception-specific failover. However, another error is thrown saying that ‘ArrayIndexOutOfBoundsException’ is not defined.
Using the example code from the manual, this is the code I’m trying to use.
myDataset = system.dataset.toDataSet([“colName”], [[0]])
try:
print myDataset.getValueAt(0,5)
except ArrayIndexOutOfBoundsException:
print “…
So, I've made the correction (as said in the post import "java.lang.Exception") but sill no working. Maybe is a size array problem? Do you know this kind of issues?
Thanks