]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/request/console/class_ConsoleRequest.php
Continued:
[core.git] / framework / main / classes / request / console / class_ConsoleRequest.php
index 2bdf7ea1bc1e30936de3c84feeccce36d047fa01..bea725d24628b30c2ce9db30fbf1b9d740f4a1e1 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Mxchange\CoreFramework\Request;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
 use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 
@@ -107,7 +108,7 @@ class ConsoleRequest extends BaseRequest implements Requestable {
         */
        public function getHeaderElement (string $headerName) {
                // Console doesn't have any headers
-               throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), self::EXCEPTION_UNSPPORTED_OPERATION);
+               throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), FrameworkInterface::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
        /**
@@ -129,7 +130,7 @@ class ConsoleRequest extends BaseRequest implements Requestable {
         */
        public final function readCookie (string $cookieName) {
                // There are no cookies on console
-               throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), self::EXCEPTION_UNSPPORTED_OPERATION);
+               throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), FrameworkInterface::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
        /**
@@ -140,7 +141,7 @@ class ConsoleRequest extends BaseRequest implements Requestable {
         */
        public function isGetRequestMethod () {
                // Not support method
-               throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), self::EXCEPTION_UNSPPORTED_OPERATION);
+               throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), FrameworkInterface::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
        /**
@@ -151,7 +152,7 @@ class ConsoleRequest extends BaseRequest implements Requestable {
         */
        public function isHeadRequestMethod () {
                // Not support method
-               throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), self::EXCEPTION_UNSPPORTED_OPERATION);
+               throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), FrameworkInterface::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
        /**
@@ -162,7 +163,7 @@ class ConsoleRequest extends BaseRequest implements Requestable {
         */
        public function isPostRequestMethod () {
                // Not support method
-               throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), self::EXCEPTION_UNSPPORTED_OPERATION);
+               throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), FrameworkInterface::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
 }