Why do many java actions from Marketplace return Boolean instead of nothing?

0
Hi. Does anybody know why most java actions in Marketplace return Boolean instead of nothing? These actions either return true or throw an exception. They never return false. Is this for some backward compatibility? One example is “ThrowException” from Community Commons.
asked
1 answers
0

In Mendix <= 7 you could not have a java action return nothing, hence the boolean.

See here and also here.

Of course, this only confirms your statement, I don’t know why it was impossible for Mendix to allow for java actions to return nothing/void.

answered