Class InputException

    • Constructor Summary

      Constructors 
      Constructor Description
      InputException​(java.lang.String message, int errorCode)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorCode()
      Get error code attached to the exception
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InputException

        public InputException​(java.lang.String message,
                              int errorCode)
        Constructor
        Parameters:
        message - message describing the exception
        errorCode - error code
    • Method Detail

      • getErrorCode

        public int getErrorCode()
        Get error code attached to the exception
        Returns:
        error code