]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/class_BaseFrameworkSystem.php
Graphical code CAPTCHA partly finished, crypto class supports encryption/decryption...
[shipsimu.git] / inc / classes / main / class_BaseFrameworkSystem.php
index ea3201f20a0cfbcb0c5d5555504e607d7d737696..3b0a939c50725eee298d4335a61265863ecb4537 100644 (file)
@@ -146,6 +146,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
        const EXCEPTION_REQUIRED_INTERFACE_MISSING   = 0x034;
        const EXCEPTION_FATAL_ERROR                  = 0x035;
        const EXCEPTION_FILE_NOT_FOUND               = 0x036;
+       const EXCEPTION_ASSERTION_FAILED             = 0x037;
 
        /**
         * In the super constructor these system classes shall be ignored or else
@@ -272,7 +273,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                }
 
                // Output stub message
-               $this->getDebugInstance()->output(sprintf("[%s::%s] Stub! Args: %s",
+               $this->getDebugInstance()->output(sprintf("[%s->%s] Stub! Args: %s",
                        $this->__toString(),
                        $methodName,
                        $argsString
@@ -961,9 +962,9 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                $backtrace = debug_backtrace();
 
                // Generate the class::method string
-               $methodName = "UnknownClass::unknownMethod";
+               $methodName = "UnknownClass->unknownMethod";
                if ((isset($backtrace[1]['class'])) && (isset($backtrace[1]['function']))) {
-                       $methodName = $backtrace[1]['class']."::".$backtrace[1]['function'];
+                       $methodName = $backtrace[1]['class']."->".$backtrace[1]['function'];
                }
 
                // Construct the full message