State (see State Pattern) prepared, a lot reworked/refactured
[core.git] / inc / classes / main / io / class_FrameworkDirectoryPointer.php
index 98fe305..c25e97b 100644 (file)
@@ -196,7 +196,7 @@ class FrameworkDirectoryPointer extends BaseFrameworkSystem {
                        $this->dirPointer = $dirPointer;
                } else {
                        // Throw exception
-                       throw new InvalidDirectoryResourceException($this, self::EXCEPTION_INVALID_DIRECTORY_POINTER);
+                       throw new InvalidResourceException($this, self::EXCEPTION_INVALID_RESOURCE);
                }
        }