}
if (callbackId != null)
{
CallbackReplyMessage result = new CallbackReplyMessage(callbackMethod, callbackArgs, null, null);
result.setCallbackDone(callbackDone);
result.setCallbackId(callbackId);
result.setCallId(callId);
result.setCompleted(completed);
result.setGroup(group);
return result;
}
else
{
HessianRPCReplyMessage result = new HessianRPCReplyMessage(obj, null, null);
result.setCallId(callId);
result.setCompleted(completed);
result.setGroup(group);
return result;
}
}
catch (Throwable ex)
{
Constants.ahessianLogger.warn("", ex);
{
HessianRPCReplyMessage result = new HessianRPCReplyMessage(null, ex, null);
result.setCallId(callId);
result.setGroup(group);
result.setCallbackId(callbackId);
return result;
}
}