Class MismatchedCommandArgumentsException

Object
Throwable
Exception
RuntimeException
IllegalArgumentException
MismatchedCommandArgumentsException
All Implemented Interfaces:
Serializable

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

    Constructors 
    Constructor Description
    MismatchedCommandArgumentsException​(String message)
    To be thrown when an input is not the required length in KeywordInterface
    MismatchedCommandArgumentsException​(String expectedLength, int actualLength)
    To be thrown when an input is not the required length in 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

    • MismatchedCommandArgumentsException

      public MismatchedCommandArgumentsException​(String expectedLength, int actualLength)
      To be thrown when an input is not the required length in KeywordInterface
      Parameters:
      expectedLength - the expected length of the input
      actualLength - the actual length of the input
    • MismatchedCommandArgumentsException

      public MismatchedCommandArgumentsException​(String message)
      To be thrown when an input is not the required length in KeywordInterface
      Parameters:
      message - the exception message