try{
ProcessInstance instance = getInstance(instanceId);
ProcessDefinition definition = instance.getProcessDefinition();
Activity activity = definition.getActivity(tracingTag);
activity.fireFault(instance, fault);
}catch(Exception e){
e.printStackTrace();
throw new RemoteException("ProcessManagerError:"+e.getMessage(), e);
}