|
||||||||||
| 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.UnknownCommand |
| Field Summary | |
|---|---|
private String |
msg
. |
private Throwable |
throwable
. |
private ErrorType |
type
. |
| Constructor Summary | |
|---|---|
private |
ShellResponse.Error(ErrorType type,
String msg)
|
private |
ShellResponse.Error(ErrorType type,
String msg,
Throwable throwable)
|
| Method Summary | |
|---|---|
String |
getText()
|
Throwable |
getThrowable()
|
ErrorType |
getType()
|
String |
toString()
|
| Methods inherited from class org.crsh.shell.ShellResponse |
|---|
cancelled, close, display, display, 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 |
| Field Detail |
|---|
private final ErrorType type
private final Throwable throwable
private final String msg
| Constructor Detail |
|---|
private ShellResponse.Error(ErrorType type,
String msg)
private ShellResponse.Error(ErrorType type,
String msg,
Throwable throwable)
| Method Detail |
|---|
public ErrorType getType()
public Throwable getThrowable()
public String getText()
getText in class ShellResponsepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||