]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/streams/output/class_
Continued:
[core.git] / framework / main / classes / streams / output / class_
index 123218abb8afb190421c096cec78aa41e213aa4f..8b50864b71ce66c75f53bcdcc7de4b7b8e1063c8 100644 (file)
@@ -1,9 +1,10 @@
 <?php
 // Own namespace
-namespace CoreFramework\Stream\Output\;
+namespace Org\Mxchange\CoreFramework\Stream\Output\;
 
 // Import framework stuff
-use CoreFramework\Stream\BaseStream;
+use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException;
+use Org\Mxchange\CoreFramework\Stream\BaseStream;
 
 /**
  * A ???OutputStream class
@@ -33,7 +34,7 @@ class ???OutputStream extends BaseStream implements OutputStream {
         *
         * @return      void
         */
-       protected function __construct () {
+       private function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
@@ -59,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);
        }