]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/filter/auth/class_UserAuthFilter.php
Code cleanups, deprecated classes renamed
[core.git] / inc / classes / main / filter / auth / class_UserAuthFilter.php
index 7745492ffab0ee536f50aa951cb1603a322b2f34..6d19adae25109dbf4eda748155cf08c938c59d74 100644 (file)
@@ -73,7 +73,7 @@ class UserAuthFilter extends BaseFilter implements Filterable {
         * @return      void
         * @throws      UserAuthorizationException      If the auth login was not found or if it was invalid
         * @throws      UserPasswordMismatchException   If the supplied password hash does not match
-        * @throws      ClassNotFoundException  If the user (guest/member) class was not found
+        * @throws      NoClassException        If the user (guest/member) class was not found
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Then get an auth instance for checking and updating the auth cookies
@@ -115,7 +115,7 @@ class UserAuthFilter extends BaseFilter implements Filterable {
                // Does the guest class exist?
                if (!class_exists($className)) {
                        // Then abort here
-                       throw new ClassNotFoundException (array($this, $className), self::EXCEPTION_CLASS_NOT_FOUND);
+                       throw new NoClassException (array($this, $className), self::EXCEPTION_CLASS_NOT_FOUND);
                } // END - if
 
                // Now try the dynamic login