aboutsummaryrefslogtreecommitdiffstats
path: root/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/process/UnkillableChildProcessException.java
blob: 1b847380b4739de207b7f219b46d0bc030017d2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Vespa.ai. 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);
    }
}