throw new InvocationException(Reason.ReasonUnknown);
}
try
{
AtomicTransaction atomicTransaction = new AtomicTransaction();
try
{
atomicTransaction.begin();
if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
{
try
{
_values[x][y].get_value(value);
atomicTransaction.commit(true);
}
catch (InvocationException invocationException)
{
atomicTransaction.rollback();
throw invocationException;
}
}
else
{
atomicTransaction.rollback();
throw new InvocationException(Reason.ReasonConcurrencyControl);
}
}
catch (InvocationException invocationException)
{
throw invocationException;
}
catch (Exception exception)
{
System.err.println("AITMatrixImpl03.get_value: " + exception);
if (atomicTransaction.get_status() == Status.StatusActive)
{
atomicTransaction.rollback();
}
throw new InvocationException(Reason.ReasonUnknown);
}
}