Currently, when the optimistic attempt fails with NotSerializableException, the error is caught, and the process proceeds with the pessimistic attempt, that however will fail with the exactly same error.
In case of NotSerializableException the process should be stopped immediately.
Currently, when the optimistic attempt fails with NotSerializableException, the error is caught, and the process proceeds with the pessimistic attempt, that however will fail with the exactly same error.
In case of NotSerializableException the process should be stopped immediately.