org.crsh.shell
Class ShellResponse.Error
java.lang.Object
org.crsh.shell.ShellResponse
org.crsh.shell.ShellResponse.Error
- Enclosing class:
- ShellResponse
public static class ShellResponse.Error
- extends ShellResponse
Methods inherited from class org.crsh.shell.ShellResponse |
cancelled, display, display, error, error, error, evalError, evalError, evalError, internalError, internalError, internalError, noCommand, ok, ok, unknownCommand |
type
private final ErrorType type
- .
throwable
private final Throwable throwable
- .
msg
private final String msg
ShellResponse.Error
private ShellResponse.Error(ErrorType type,
Throwable throwable)
ShellResponse.Error
private ShellResponse.Error(ErrorType type,
String msg)
ShellResponse.Error
private ShellResponse.Error(ErrorType type,
String msg,
Throwable throwable)
getType
public ErrorType getType()
getThrowable
public Throwable getThrowable()
getText
public String getText()
- Specified by:
getText
in class ShellResponse
build
private static String build(Throwable throwable)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 eXo Platform SAS. All Rights Reserved.