]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/streams/output/class_
Continued:
[core.git] / framework / main / classes / streams / output / class_
index 6e636b87bcf5c14806f2eca1da0f9b416da5784b..8b50864b71ce66c75f53bcdcc7de4b7b8e1063c8 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\Stream\Output\;
+namespace Org\Mxchange\CoreFramework\Stream\Output\;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException;
@@ -34,7 +34,7 @@ class ???OutputStream extends BaseStream implements OutputStream {
         *
         * @return      void
         */
-       protected function __construct () {
+       private function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
@@ -60,7 +60,7 @@ class ???OutputStream extends BaseStream implements OutputStream {
         * @throws      UnsupportedOperationException   If this method is called
         */
        public function streamData ($data) {
-               self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
+               self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }