X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fexceptions%2Fsocket%2Fclass_NoSocketRegisteredException.php;h=6eeeb15349e09c563f42ab6521918b682074a472;hp=fbd5daa88d03ce05b89ef5f0831c3942c7b8df3e;hb=c89cdd982baa6d3941f829f3916785e7069c4214;hpb=6536a4dda3b96201f7f5551dc5d42559cf8b453d diff --git a/inc/classes/exceptions/socket/class_NoSocketRegisteredException.php b/inc/classes/exceptions/socket/class_NoSocketRegisteredException.php index fbd5daa8..6eeeb153 100644 --- a/inc/classes/exceptions/socket/class_NoSocketRegisteredException.php +++ b/inc/classes/exceptions/socket/class_NoSocketRegisteredException.php @@ -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