]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/streams/crypto/null/class_NullCryptoStream.php
Continued:
[core.git] / framework / main / classes / streams / crypto / null / class_NullCryptoStream.php
index 8365c8d157a34347b05a8ef8e13581fb4617507a..d498255fba50e9e81b94aa6080401eb8f9488196 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Mxchange\CoreFramework\Stream\Crypto\Null;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
 use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException;
 use Org\Mxchange\CoreFramework\Stream\Crypto\BaseCryptoStream;
 use Org\Mxchange\CoreFramework\Stream\Crypto\EncryptableStream;
@@ -87,7 +88,7 @@ class NullCryptoStream extends BaseCryptoStream implements EncryptableStream {
         */
        public function streamData (string $data) {
                self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
-               throw new UnsupportedOperationException([$this, __FUNCTION__], self::EXCEPTION_UNSPPORTED_OPERATION);
+               throw new UnsupportedOperationException([$this, __FUNCTION__], FrameworkInterface::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
 }