private static final String BUNDLE_NAME = "org.eclipse.tracecompass.internal.tmf.remote.core.messages.messages"; //$NON-NLS-1$
// Failures
- public static String TraceControl_ExecutionCancelled;
- public static String TraceControl_ExecutionFailure;
- public static String TraceControl_ExecutionTimeout;
- public static String TraceControl_ShellNotConnected;
- public static String TraceControl_CommandShellError;
+ public static String RemoteConnection_ExecutionCancelled;
+ public static String RemoteConnection_ExecutionFailure;
+ public static String RemoteConnection_ExecutionTimeout;
+ public static String RemoteConnection_ShellNotConnected;
+ public static String RemoteConnection_CommandShellError;
static {
// initialize resource bundle
# Bernd Hufmann - initial API and implementation
###############################################################################
-TraceControl_ExecutionCancelled=Command Execution cancelled
-TraceControl_ExecutionFailure=Command Execution failed
-TraceControl_ExecutionTimeout=Command Execution timed-out
-TraceControl_ShellNotConnected=Command shell not connected
-TraceControl_CommandShellError=Could not create HostShellProcessAdapter
+RemoteConnection_ExecutionCancelled=Command Execution cancelled
+RemoteConnection_ExecutionFailure=Command Execution failed
+RemoteConnection_ExecutionTimeout=Command Execution timed-out
+RemoteConnection_ShellNotConnected=Command shell not connected
+RemoteConnection_CommandShellError=Could not create HostShellProcessAdapter
try {
return checkNotNull(future.get(TmfRemotePreferences.getCommandTimeout(), TimeUnit.SECONDS));
} catch (InterruptedException ex) {
- throw new ExecutionException(Messages.TraceControl_ExecutionCancelled, ex);
+ throw new ExecutionException(Messages.RemoteConnection_ExecutionCancelled, ex);
} catch (TimeoutException ex) {
- throw new ExecutionException(Messages.TraceControl_ExecutionTimeout, ex);
+ throw new ExecutionException(Messages.RemoteConnection_ExecutionTimeout, ex);
} catch (Exception ex) {
- throw new ExecutionException(Messages.TraceControl_ExecutionFailure, ex);
+ throw new ExecutionException(Messages.RemoteConnection_ExecutionFailure, ex);
}
finally {
future.cancel(true);
}
}
- throw new ExecutionException(Messages.TraceControl_ShellNotConnected, null);
+ throw new ExecutionException(Messages.RemoteConnection_ShellNotConnected, null);
}
// ------------------------------------------------------------------------