]> git.mxchange.org Git - core.git/commitdiff
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 33189fdf608b1c3505086b5a4ac8720ebb6bc30e..79a4c7728ca226136f6bedeab8c60972a5e537ef 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 898aa2f3b00f9e006e5a4d176ef7e43c1f8c7bdb..c5ae01958c8ba677c6e27f975e04db263917b7b6 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 28288a809b0cd4721de68a6659b831eb2fe14638..39b83dd8c7de86314098658f9c9bac45fe4da07a 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();
                }