/** * INTERNAL: * We received the specified exception String while executing the command * over the specified connection. Turn it into a RemoteCommandManagerException * and throw it on this, the client side. */ public void handleExceptionFromRemoteExecution(RemoteConnection conn, String exString) { // Log the error and pass the exception off to the handler Object[] args = { conn.getServiceId(), exString }; rcm.logWarning("failed_command_propagation", args); // Build an RCMException and concoct an RTException to stick inside RemoteCommandManagerException rcmException = RemoteCommandManagerException.unableToPropagateCommand(conn.toString(), new Exception(exString)); rcm.handleException(rcmException); }
/** * INTERNAL: * We received the specified exception String while executing the command * over the specified connection. Turn it into a RemoteCommandManagerException * and throw it on this, the client side. */ public void handleExceptionFromRemoteExecution(RemoteConnection conn, String exString) { // Log the error and pass the exception off to the handler Object[] args = { conn.getServiceId(), exString }; rcm.logWarning("failed_command_propagation", args); // Build an RCMException and concoct an RTException to stick inside RemoteCommandManagerException rcmException = RemoteCommandManagerException.unableToPropagateCommand(conn.toString(), new Exception(exString)); rcm.handleException(rcmException); }
/** * INTERNAL: * We received the specified exception String while executing the command * over the specified connection. Turn it into a RemoteCommandManagerException * and throw it on this, the client side. */ public void handleExceptionFromRemoteExecution(RemoteConnection conn, String exString) { // Log the error and pass the exception off to the handler Object[] args = { conn.getServiceId(), exString }; rcm.logWarning("failed_command_propagation", args); // Build an RCMException and concoct an RTException to stick inside RemoteCommandManagerException rcmException = RemoteCommandManagerException.unableToPropagateCommand(conn.toString(), new Exception(exString)); rcm.handleException(rcmException); }
rcm.logWarning("failed_command_propagation", args); RemoteCommandManagerException rcmException = RemoteCommandManagerException.unableToPropagateCommand(conn.toString(), comEx.getInternalException()); try { rcm.handleException(rcmException);
rcm.logWarning("failed_command_propagation", args); RemoteCommandManagerException rcmException = RemoteCommandManagerException.unableToPropagateCommand(conn.toString(), comEx.getInternalException()); try { rcm.handleException(rcmException);
rcm.logWarning("failed_command_propagation", args); RemoteCommandManagerException rcmException = RemoteCommandManagerException.unableToPropagateCommand(conn.toString(), comEx.getInternalException()); try { rcm.handleException(rcmException);