]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/streams/raw_data/input/class_RawDataInputStream.php
Added XML node 'accepted-object-types', used direct BaseHubSystem instead of 'self...
[hub.git] / application / hub / main / streams / raw_data / input / class_RawDataInputStream.php
index a708c984e523dad38e92ee591a0162665618f1fa..41a4d474a8352f1d78861cdd88450db646e5c3e6 100644 (file)
@@ -69,10 +69,10 @@ class RawDataInputStream extends BaseStream implements InputStreamable {
                // Can it be validated?
                if ((strlen($data) % 4) != 0) {
                        // Length modulo 4 must be zero, else it is an invalid Base64 message
-                       throw new Base64EncodingModuloException(array($this, $data), self::EXCEPTION_BASE64_ENCODING_NOT_MODULO_4);
+                       throw new Base64EncodingModuloException(array($this, $data), BaseHubSystem::EXCEPTION_BASE64_ENCODING_NOT_MODULO_4);
                } elseif (!$this->isBase64Encoded($data)) {
                        // Is not a valid Base64-encoded message
-                       throw new Base64EncodingBadException(array($this, $data), self::EXCEPTION_BASE64_BAD_ENCODING);
+                       throw new Base64EncodingBadException(array($this, $data), BaseHubSystem::EXCEPTION_BASE64_BAD_ENCODING);
                } else {
                        // Decode the data with BASE64-encoding
                        $data = base64_decode($data);