More renamed
[shipsimu.git] / application / ship-simu / main / companies / class_ShippingCompany.php
index 9ffb6048c5c51063a8e026315cf3c102d1caf456..de959b62f836e6f272d9de6d6e74e676a24994bf 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A shipping company may be founded with this class
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * 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
@@ -83,7 +83,7 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
         * @return      $companyInstance        Prepared company instance
         * @todo        Add functionality if user participates in a company
         */
-       public final static function createShippingCompany (ManageableAccount $userInstance) {
+       public static final function createShippingCompany (ManageableAccount $userInstance) {
                // Get new instance
                $companyInstance = new ShippingCompany();
 
@@ -471,7 +471,7 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
                // Is the class there?
                if (!class_exists($shipType)) {
                        // Throw exception
-                       throw new ClassNotFoundException($shipType, self::EXCEPTION_CLASS_NOT_FOUND);
+                       throw new NoClassException($shipType, self::EXCEPTION_CLASS_NOT_FOUND);
                }
 
                // Create dummy ship