blob: efb45fb9dcdc584e9943545335fc2dfd7c48be93 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// 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;
/**
* @author hakonhall
*/
@SuppressWarnings("serial")
public class UnexpectedOutputException extends ChildProcessException {
/**
* @param problem Problem description, e.g. "Output is not of the form ^NAME=VALUE$"
*/
public UnexpectedOutputException(String problem, String commandLine, String possiblyHugeOutput) {
super("output was not of the expected format: " + problem, commandLine, possiblyHugeOutput);
}
/**
* @param problem Problem description, e.g. "Output is not of the form ^NAME=VALUE$"
*/
public UnexpectedOutputException(RuntimeException cause,
String problem,
String commandLine,
String possiblyHugeOutput) {
super(cause, "output was not of the expected format: " + problem, commandLine, possiblyHugeOutput);
}
}
|