aboutsummaryrefslogtreecommitdiffstats
path: root/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/process/LargeOutputChildProcessException.java
blob: 440928b57621d3ed6ca5e3cf387b6dc59ef02ae3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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;

/**
 * Exception thrown if the output of the child process is larger than the maximum limit.
 *
 * @author hakonhall
 */
@SuppressWarnings("serial")
public class LargeOutputChildProcessException extends ChildProcessException {
    LargeOutputChildProcessException(long maxFileSize, String commandLine, String possiblyHugeOutput) {
        super("output more than " + maxFileSize + " bytes", commandLine, possiblyHugeOutput);
    }
}