More widen interface ProtocolHandler (which should be extended by listener and writer...
[core.git] / inc / classes / exceptions / socket / class_NoSocketRegisteredException.php
index fbd5daa88d03ce05b89ef5f0831c3942c7b8df3e..6eeeb15349e09c563f42ab6521918b682074a472 100644 (file)
@@ -25,14 +25,14 @@ class NoSocketRegisteredException extends FrameworkException {
        /**
         * A Constructor for this exception
         *
-        * @param               $listenerInstance       An instance of a Listenable class
+        * @param               $protocolInstance       An instance of a ProtocolHandler class
         * @param               $code                           Error code
         * @return      void
         */
-       public function __construct (Listenable $listenerInstance, $code) {
+       public function __construct (ProtocolHandler $protocolInstance, $code) {
                // Construct the message
                $message = sprintf("[%s:] Requested socket is not yet registered.",
-                       $listenerInstance->__toString()
+                       $protocolInstance->__toString()
                );
 
                // Call parent exception constructor