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.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

ShellResponse.Error

public ShellResponse.Error(ErrorType type,
                           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 © 2011 eXo Platform SAS. All Rights Reserved.