Class NetStat.HostExecutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.terracotta.utilities.test.net.NetStat.HostExecutionException
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- NetStat
public static final class NetStat.HostExecutionException extends java.io.IOExceptionThrown to indicate the failure of a host command used in construction of TCP connection status information.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Shell.Resultresultprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description HostExecutionException(java.lang.String message, java.lang.Throwable cause)HostExecutionException(java.lang.String command, Shell.Result result)HostExecutionException(java.lang.String command, Shell.Result result, java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intexitCode()private static java.lang.Stringmessage(java.lang.String command, Shell.Result result)java.util.List<java.lang.String>output()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
result
private final Shell.Result result
-
-
Constructor Detail
-
HostExecutionException
public HostExecutionException(java.lang.String message, java.lang.Throwable cause)
-
HostExecutionException
public HostExecutionException(java.lang.String command, Shell.Result result, java.lang.Throwable cause)
-
HostExecutionException
public HostExecutionException(java.lang.String command, Shell.Result result)
-
-
Method Detail
-
message
private static java.lang.String message(java.lang.String command, Shell.Result result)
-
exitCode
public int exitCode()
-
output
public java.util.List<java.lang.String> output()
-
-