From: Roland Haeder Date: Mon, 11 May 2015 22:39:35 +0000 (+0200) Subject: Also this constant is not reachable through "self" from this class. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d59d8cb9226b9a4bed00df2b09285a1c61e61f07;p=hub.git Also this constant is not reachable through "self" from this class. Signed-off-by: Roland Haeder --- diff --git a/application/hub/main/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php b/application/hub/main/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php index a5af5210b..dc7686181 100644 --- a/application/hub/main/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php +++ b/application/hub/main/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php @@ -95,7 +95,7 @@ class NodeMessageAnnouncementHandler extends BaseMessageHandler implements Handl * This node is not accepting announcements, then someone wants to * announce his node to a non-bootstrap and non-master node. */ - throw new AnnouncementNotAcceptedException(array($this, $nodeInstance, $messageData), self::EXCEPTION_ANNOUNCEMENT_NOT_ACCEPTED); + throw new AnnouncementNotAcceptedException(array($this, $nodeInstance, $messageData), BaseHubSystem::EXCEPTION_ANNOUNCEMENT_NOT_ACCEPTED); } // END - if // Register the announcing node with this node