Finished first cleanup (still a lot is broken):
[core.git] / inc / main / exceptions / main / class_MissingMethodException.php
index cebe42a905555e8e88dea9580588c00c2d1f0cff..b033837c9d0d854d58228e02197055f11fee1ff4 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Object;
+
 /**
  * An exception thrown when a method is missing, this exception is used in
  * guest/user login classes and thrown when a factory method is absend. I think
@@ -36,7 +39,7 @@ class MissingMethodException extends FrameworkException {
         */
        public function __construct (array $classArray, $code) {
                // Add a message around the missing class
-               $message = sprintf('[%s:%d] This class has no method <u>%s()</u>.',
+               $message = sprintf('[%s:%d] This class has no method %s().',
                        $classArray[0]->__toString(),
                        $this->getLine(),
                        $classArray[1]
@@ -45,7 +48,5 @@ class MissingMethodException extends FrameworkException {
                // Call parent constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}