Class ObjectMismatchException

    • Constructor Detail

      • ObjectMismatchException

        public ObjectMismatchException​(Object object,
                                       Object expected)
        The constructor.
        Parameters:
        object - is the object (value) that does not match as expected.
        expected - is the expected object (value).
      • ObjectMismatchException

        public ObjectMismatchException​(Object object,
                                       Object expected,
                                       Throwable cause)
        The constructor.
        Parameters:
        object - is the object (value) that does not match as expected.
        expected - is the expected object (value).
        cause - the cause.