|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crsh.shell.ShellResponse
org.crsh.shell.ShellResponse.Error
public static class ShellResponse.Error
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.crsh.shell.ShellResponse |
---|
ShellResponse.Cancelled, ShellResponse.Close, ShellResponse.Display, ShellResponse.Error, ShellResponse.NoCommand, ShellResponse.Ok, ShellResponse.SyntaxError, ShellResponse.UnknownCommand |
Constructor Summary | |
---|---|
ShellResponse.Error(ErrorType type,
Throwable throwable)
|
Method Summary | |
---|---|
String |
getText()
|
Throwable |
getThrowable()
|
ErrorType |
getType()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ShellResponse.Error(ErrorType type, Throwable throwable)
Method Detail |
---|
public ErrorType getType()
public Throwable getThrowable()
public String getText()
getText
in class ShellResponse
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |