org.lsst.ccs.shell
Class CLIException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.lsst.ccs.shell.CLIException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TokenException

public class CLIException
extends Exception

Root exception for Cliche.

Author:
ASG
See Also:
Serialized Form

Constructor Summary
CLIException()
           
CLIException(String message)
           
CLIException(String message, Throwable cause)
           
CLIException(Throwable cause)
           
 
Method Summary
static CLIException createAmbiguousCommandExc(String commandName, int argCount)
           
static CLIException createCommandNotFound(String commandName)
           
static CLIException createCommandNotFoundForArgNum(String commandName, int argCount)
           
 
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
 

Constructor Detail

CLIException

public CLIException()

CLIException

public CLIException(String message)

CLIException

public CLIException(Throwable cause)

CLIException

public CLIException(String message,
                    Throwable cause)
Method Detail

createCommandNotFound

public static CLIException createCommandNotFound(String commandName)

createCommandNotFoundForArgNum

public static CLIException createCommandNotFoundForArgNum(String commandName,
                                                          int argCount)

createAmbiguousCommandExc

public static CLIException createAmbiguousCommandExc(String commandName,
                                                     int argCount)


Copyright © 2013 LSST. All Rights Reserved.