Class CommandNotFoundException

Object
Throwable
Exception
RuntimeException
IllegalArgumentException
CommandNotFoundException
All Implemented Interfaces:
Serializable

public class CommandNotFoundException
extends IllegalArgumentException
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    CommandNotFoundException​(String message)
    To be thrown when an invalid command is passed to KeywordInterface
    CommandNotFoundException​(String message, Throwable cause)
    To be thrown when an invalid command is passed to KeywordInterface
  • Method Summary

    Methods inherited from class Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CommandNotFoundException

      public CommandNotFoundException​(String message)
      To be thrown when an invalid command is passed to KeywordInterface
      Parameters:
      message - the message describing the problem
    • CommandNotFoundException

      public CommandNotFoundException​(String message, Throwable cause)
      To be thrown when an invalid command is passed to KeywordInterface
      Parameters:
      message - the message describing the problem
      cause - the cause of the error