All backtraces now have a small message.
authorRoland Häder <roland@mxchange.org>
Wed, 31 Aug 2011 20:03:08 +0000 (20:03 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 31 Aug 2011 20:03:08 +0000 (20:03 +0000)
inc/classes/main/commands/web/class_WebDoFormCommand.php
inc/classes/main/template/mail/class_MailTemplateEngine.php
inc/classes/main/user/member/class_Member.php

index 33189fd..79a4c77 100644 (file)
@@ -57,8 +57,8 @@ class WebDoFormCommand extends BaseCommand implements Commandable {
         * @return      void
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Should never be executed...
-               $this->debugBackTrace();
+               // Should never be reached...
+               $this->debugBackTrace('This should never be reached.');
        }
 
        /**
index 898aa2f..c5ae019 100644 (file)
@@ -321,7 +321,7 @@ class MailTemplateEngine extends BaseTemplateEngine implements CompileableTempla
        public function getMailCacheFqfn () {
                // Initialize FQFN
                $fqfn = '';
-               $this->debugBackTrace();
+               $this->debugBackTrace('Unfinished area!');
 
                // Return it
                return $fqfn;
index 28288a8..39b83dd 100644 (file)
@@ -94,8 +94,7 @@ class Member extends BaseUser implements ManageableMember, Registerable {
                } else {
                        // Unsupported mode
                        $userInstance = new Member();
-                       $userInstance->partialStub("We need to add more ways of creating user classes here.");
-                       $userInstance->debugBackTrace();
+                       $userInstance->debugBackTrace('More ways of creating user classes are needed here.');
                        exit();
                }