equal
deleted
inserted
replaced
256 throws AgentLoadException, IOException; |
256 throws AgentLoadException, IOException; |
257 |
257 |
258 /* |
258 /* |
259 * Convenience method for simple commands |
259 * Convenience method for simple commands |
260 */ |
260 */ |
261 private InputStream executeCommand(String cmd, Object ... args) throws IOException { |
261 public InputStream executeCommand(String cmd, Object ... args) throws IOException { |
262 try { |
262 try { |
263 return execute(cmd, args); |
263 return execute(cmd, args); |
264 } catch (AgentLoadException x) { |
264 } catch (AgentLoadException x) { |
265 throw new InternalError("Should not get here", x); |
265 throw new InternalError("Should not get here", x); |
266 } |
266 } |