Class ArgumentException

    • Constructor Summary

      Constructors 
      Constructor Description
      ArgumentException​(java.lang.String message)
      Creates a new argument exception with the provided message.
      ArgumentException​(java.lang.String message, java.lang.Throwable cause)
      Creates a new argument exception with the provided message and cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

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

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

      • ArgumentException

        public ArgumentException​(java.lang.String message)
        Creates a new argument exception with the provided message.
        Parameters:
        message - The message to use for this exception.
      • ArgumentException

        public ArgumentException​(java.lang.String message,
                                 java.lang.Throwable cause)
        Creates a new argument exception with the provided message and cause.
        Parameters:
        message - The message to use for this exception.
        cause - The underlying exception that triggered this exception.