]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/utils/crypto/class_CryptoUtils.php
Continued:
[core.git] / framework / main / classes / utils / crypto / class_CryptoUtils.php
index 5aa5510598833206bbf315f984090c4617dfabec..6d8ac999019bb2f32f958d8fe5086f360b244b37 100644 (file)
@@ -86,7 +86,7 @@ final class CryptoUtils extends BaseFrameworkSystem {
                        throw new InvalidArgumentException('Parameter "str" is empty', FrameworkInterface::EXCEPTION_INVALID_ARGUMENT);
                } elseif (!extension_loaded('hash')) {
                        // Should be there
-                       throw new LogicException('Extension ext-hash not loaded');
+                       throw new LogicException('Extension ext-hash not loaded', FrameworkInterface::EXCEPTION_LOGIC_EXCEPTION);
                }
 
                // Invoke static initializer