private static final long serialVersionUID = 1L;
/** Constructs an <code>MsgException</code> without a detail message. */
- public MsgException() {
+ protected MsgException() {
super();
}
/** Constructs an <code>MsgException</code> with a detail message. */
- public MsgException(String msg) {
+ protected MsgException(String msg) {
super(msg);
}
}
*
*
*/
- public Process(String hostname, String name) throws HostNotFoundException {
+ protected Process(String hostname, String name) throws HostNotFoundException {
this(Host.getByName(hostname), name, null);
}
/**
* @exception HostNotFoundException if no host with this name exists.
*
*/
- public Process(String hostname, String name, String[] args) throws HostNotFoundException {
+ protected Process(String hostname, String name, String[] args) throws HostNotFoundException {
this(Host.getByName(hostname), name, args);
}
/**
* @param name The name of the process.
*
*/
- public Process(Host host, String name) {
+ protected Process(Host host, String name) {
this(host, name, null);
}
/**
* @param name The name of the process.
* @param argsParam The arguments of main method of the process.
*/
- public Process(Host host, String name, String[]argsParam)
+ protected Process(Host host, String name, String[]argsParam)
{
if (host == null)
throw new IllegalArgumentException("Cannot create a process on the null host");
* @param killTime Kill time of the process
*
*/
- public Process(Host host, String name, String[]args, double startTime, double killTime) {
+ protected Process(Host host, String name, String[]args, double startTime, double killTime) {
this(host, name, args);
this.startTime = startTime;
this.killTime = killTime;