private function throwException(string $method) { throw LogicExceptionFactory::createForUncallableMethod($method); }