X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Fstreams%2Fraw_data%2Finput%2Fclass_RawDataInputStream.php;fp=application%2Fhub%2Fmain%2Fstreams%2Fraw_data%2Finput%2Fclass_RawDataInputStream.php;h=41a4d474a8352f1d78861cdd88450db646e5c3e6;hb=2a06922cabf2e7f18dc5d1041d6fe60239a56e2a;hp=a708c984e523dad38e92ee591a0162665618f1fa;hpb=fc95dc4979de3b9fe2c06b57fa7e801fb93caaaf;p=hub.git diff --git a/application/hub/main/streams/raw_data/input/class_RawDataInputStream.php b/application/hub/main/streams/raw_data/input/class_RawDataInputStream.php index a708c984e..41a4d474a 100644 --- a/application/hub/main/streams/raw_data/input/class_RawDataInputStream.php +++ b/application/hub/main/streams/raw_data/input/class_RawDataInputStream.php @@ -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);