// Is the value instance valid?
if (is_null($this->valueInstance)) {
- try {
- // Get the requested instance
- $this->valueInstance = ObjectFactory::createObjectByConfiguredName($registryKey . '_class', array($this->extraInstance));
- } catch (FrameworkException $e) {
- // Okay, nothing found so throw a null pointer exception here
- throw new NullPointerException($this, self::EXCEPTION_IS_NULL_POINTER);
- }
+ // Get the requested instance
+ $this->valueInstance = ObjectFactory::createObjectByConfiguredName($registryKey . '_class', array($this->extraInstance));
} // END - if
}