Class ObjectMismatchException

All Implemented Interfaces:
Localizable, LocalizableObject, Serializable

public class ObjectMismatchException extends ApplicationException
An ObjectMismatchException is thrown if an object or value does not match an expected result.
Since:
1.0.0
See Also:
  • Field Details

  • Constructor Details

    • 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.