public class CommandFailedException
extends java.lang.Exception
Constructor and Description |
---|
CommandFailedException(Command command,
int exitCode,
java.lang.String output) |
CommandFailedException(Command command,
java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
boolean |
exited() |
Command |
getCommand() |
java.lang.Integer |
getExitCode() |
java.lang.String |
getOutput() |
public CommandFailedException(Command command, java.lang.String message, java.lang.Throwable cause)
public CommandFailedException(Command command, int exitCode, java.lang.String output)
public Command getCommand()
public boolean exited()
public java.lang.Integer getExitCode()
public java.lang.String getOutput()
Copyright © 2015 Red Hat. All Rights Reserved.