Class ClassSanityTester.ParameterHasNoDistinctValueException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.common.testing.ClassSanityTester.ParameterHasNoDistinctValueException
All Implemented Interfaces:
Serializable
Enclosing class:
ClassSanityTester

static class ClassSanityTester.ParameterHasNoDistinctValueException extends Exception
Thrown if the test fails to generate two distinct non-null values of a constructor or factory parameter in order to test Object.equals(java.lang.Object) and Object.hashCode() of the declaring class.
  • Constructor Details

    • ParameterHasNoDistinctValueException

      ParameterHasNoDistinctValueException(Parameter parameter)