aboutsummaryrefslogtreecommitdiffstats
path: root/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/process/UnkillableChildProcessException.java
blob: 19027f4904b428b59baf9216bae42020249c15d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

package com.yahoo.vespa.hosted.node.admin.task.util.process;

import java.time.Duration;

/**
 * @author hakonhall
 */
@SuppressWarnings("serial")
public class UnkillableChildProcessException extends ChildProcessException {
    public UnkillableChildProcessException(Duration waitForSigTerm,
                                           Duration waitForSigKill,
                                           String commandLine,
                                           String possiblyHugeOutput) {
        super("did not terminate even after SIGTERM, +" + waitForSigTerm +
                ", SIGKILL, and +" + waitForSigKill,
                commandLine,
                possiblyHugeOutput);
    }
}