}
catch (Exception e)
{
m_context.getMachine().updateStackTrace(e);
StackTrace trace = new StackTrace();
StackTraceElement[] traceArray = e.getStackTrace();
StackTraceElement[] currentArray = trace.getStackTrace();
StackTraceElement[] amendedTraceArray = new StackTraceElement[traceArray.length + currentArray.length];
System.arraycopy(traceArray, 0, amendedTraceArray, 0, traceArray.length);
System.arraycopy(currentArray, 0, amendedTraceArray, traceArray.length, currentArray.length);