org.fusesource.process.manager.support.command
Class CommandFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.fusesource.process.manager.support.command.CommandFailedException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- CommandTimeoutException
public class CommandFailedException
- extends java.lang.Exception
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CommandFailedException
public CommandFailedException(Command command,
java.lang.String message,
java.lang.Throwable cause)
CommandFailedException
public CommandFailedException(Command command,
int exitCode,
java.lang.String output)
getCommand
public Command getCommand()
exited
public boolean exited()
getExitCode
public java.lang.Integer getExitCode()
getOutput
public java.lang.String getOutput()
Copyright © 2013 Red Hat. All Rights Reserved.