org.crsh.shell
Class ShellResponse.Error
java.lang.Object
org.crsh.shell.ShellResponse
org.crsh.shell.ShellResponse.Error
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- ShellResponse
-
public static class ShellResponse.Error
- extends ShellResponse
-
- See Also:
- Serialized Form
Methods inherited from class org.crsh.shell.ShellResponse |
cancelled, close, error, error, evalError, evalError, internalError, internalError, noCommand, ok, ok, unknownCommand |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
kind
private final ErrorKind kind
-
.
throwable
private final Throwable throwable
-
The throwable.
msg
private final String msg
-
.
ShellResponse.Error
private ShellResponse.Error(ErrorKind kind,
String msg)
ShellResponse.Error
private ShellResponse.Error(ErrorKind kind,
String msg,
Throwable throwable)
getKind
public ErrorKind getKind()
-
getThrowable
public Throwable getThrowable()
-
getMessage
public String getMessage()
-
- Specified by:
getMessage
in class ShellResponse
-
toString
public String toString()
-
- Overrides:
toString
in class Object
-
Copyright © 2015 eXo Platform SAS. All Rights Reserved.