]> git.mxchange.org Git - hub.git/blobdiff - ship-simu/application/hub/exceptions/socket/init/class_SocketSetupException.php
Class headers added with copyright
[hub.git] / ship-simu / application / hub / exceptions / socket / init / class_SocketSetupException.php
index 3ce93fd79f4d92b451bccf9179d0c107fe137879..3f3f9141cef1294e2d007fcb345df44b74f86d35 100644 (file)
@@ -1,5 +1,25 @@
 <?php
-// An exception for socket setup problems
+/**
+ * An exception for socket setup problems
+ *
+ * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @version            0.0
+ * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @license            GNU GPL 3.0 or any newer version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
 class SocketSetupException extends SocketException {
        /**
         * The constructor
@@ -10,7 +30,7 @@ class SocketSetupException extends SocketException {
         */
        public final function __construct ($msgArray, $code) {
                // Construct the message
-               $message = sprintf("[%s:%d] Socket konnte nicht konfiguriert werden. Reason: <u>%s</u> (Code: <u>%d</u>)", 
+               $message = sprintf("[%s:%d] Socket konnte nicht konfiguriert werden. Reason: <u>%s</u> (Code: <u>%d</u>)",
                        $msgArray['this']->__toString(),
                        $this->getLine(),
                        socket_strerror($msgArray['code']),