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 String |
msg
.
|
private Throwable |
throwable
The throwable.
|
private ErrorType |
type
.
|
| Modifier | Constructor and Description |
|---|---|
private |
ShellResponse.Error(ErrorType type,
String msg) |
private |
ShellResponse.Error(ErrorType type,
String msg,
Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
Throwable |
getThrowable() |
ErrorType |
getType() |
String |
toString() |
cancelled, close, error, error, evalError, evalError, internalError, internalError, noCommand, ok, ok, unknownCommandprivate ShellResponse.Error(ErrorType type, String msg)
private ShellResponse.Error(ErrorType type, String msg, Throwable throwable)
public Throwable getThrowable()
public String getMessage()
getMessage in class ShellResponseCopyright © 2014 eXo Platform SAS. All Rights Reserved.