public static class ShellResponse.Error extends ShellResponse
ShellResponse.Cancelled, ShellResponse.Close, ShellResponse.Error, ShellResponse.NoCommand, ShellResponse.Ok, ShellResponse.UnknownCommand| Modifier and Type | Field and Description |
|---|---|
private ErrorKind |
kind
.
|
private String |
msg
.
|
private Throwable |
throwable
The throwable.
|
| Modifier | Constructor and Description |
|---|---|
private |
ShellResponse.Error(ErrorKind kind,
String msg) |
private |
ShellResponse.Error(ErrorKind kind,
String msg,
Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
ErrorKind |
getKind() |
String |
getMessage() |
Throwable |
getThrowable() |
String |
toString() |
cancelled, close, error, error, evalError, evalError, internalError, internalError, noCommand, ok, ok, unknownCommandprivate ShellResponse.Error(ErrorKind kind, String msg)
private ShellResponse.Error(ErrorKind kind, String msg, Throwable throwable)
public Throwable getThrowable()
public String getMessage()
getMessage in class ShellResponseCopyright © 2015 eXo Platform SAS. All Rights Reserved.