org.crsh.shell.impl.command.spi
Class CommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.crsh.shell.impl.command.spi.CommandException
All Implemented Interfaces:
Serializable

public final class CommandException
extends Exception

Signals a general command exception.

See Also:
Serialized Form

Field Summary
private  ErrorKind errorKind
          .
 
Constructor Summary
CommandException(ErrorKind errorKind, String message)
           
CommandException(ErrorKind errorKind, String message, Throwable cause)
           
CommandException(ErrorKind errorKind, Throwable cause)
           
 
Method Summary
 ErrorKind getErrorKind()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

errorKind

private final ErrorKind errorKind
.

Constructor Detail

CommandException

public CommandException(ErrorKind errorKind,
                        String message)

CommandException

public CommandException(ErrorKind errorKind,
                        String message,
                        Throwable cause)

CommandException

public CommandException(ErrorKind errorKind,
                        Throwable cause)
Method Detail

getErrorKind

public ErrorKind getErrorKind()


Copyright © 2015 eXo Platform SAS. All Rights Reserved.