org.crsh.shell
Class ShellResponse.Error

java.lang.Object
  extended by org.crsh.shell.ShellResponse
      extended by org.crsh.shell.ShellResponse.Error
Enclosing class:
ShellResponse

public static class ShellResponse.Error
extends ShellResponse


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

type

private final ErrorType type
.


throwable

private final Throwable throwable
.


msg

private final String msg
.

Constructor Detail

ShellResponse.Error

private ShellResponse.Error(ErrorType type,
                            String msg)

ShellResponse.Error

private ShellResponse.Error(ErrorType type,
                            String msg,
                            Throwable throwable)
Method Detail

getType

public ErrorType getType()

getThrowable

public Throwable getThrowable()

getText

public String getText()
Specified by:
getText in class ShellResponse

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 eXo Platform SAS. All Rights Reserved.