Class ClassSanityTester.FactoryMethodReturnsNullException

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

static class ClassSanityTester.FactoryMethodReturnsNullException extends Exception
Thrown if the test tries to invoke a static factory method to test instance methods but the factory returned null.
  • Constructor Details

    • FactoryMethodReturnsNullException

      public FactoryMethodReturnsNullException(Invokable<?,?> factory)