summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6f3b09f)
Signed-off-by: Roland Häder <roland@mxchange.org>
// Is the value instance valid?
if (is_null($this->valueInstance)) {
// 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));