]> git.mxchange.org Git - core.git/blobdiff - framework/main/interfaces/compressor/class_Compressor.php
Continued:
[core.git] / framework / main / interfaces / compressor / class_Compressor.php
index 1f9270ad5683debe5faa6b702d162877fa10c216..df7ac71bbc2214795664a1cba2f8f7db6a767cbe 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2020 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -33,7 +33,7 @@ interface Compressor extends FrameworkInterface {
         *
         * @param       $streamData             Mixed non-object stream data
         * @return      $streamData             The compressed stream data
-        * @throws      InvalidObjectException  If the stream is an object
+        * @throws      InvalidArgumentException        If the stream is not compressable or decompressable
         */
        function compressStream ($streamData);
 
@@ -42,7 +42,7 @@ interface Compressor extends FrameworkInterface {
         *
         * @param       $streamData             Mixed non-object stream data
         * @return      $streamData             The decompressed stream data
-        * @throws      InvalidObjectException  If the stream is an object
+        * @throws      InvalidArgumentException        If the stream is not compressable or decompressable
         */
        function decompressStream ($streamData);