]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/companies/class_ShippingCompany.php
More smaller fixes, factory added to ship-simu
[shipsimu.git] / application / ship-simu / main / companies / class_ShippingCompany.php
index 1dba1682a48dd4647dc26627af58786644b99097..dec3a3228f0316d3467e2536b03d8f15df224b4f 100644 (file)
@@ -426,7 +426,7 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
                // Is the class there?
                if (!class_exists($shipType)) {
                        // Throw exception
-                       throw new ClassNotFoundException($shipType, 0);
+                       throw new ClassNotFoundException($shipType, self::EXCEPTION_CLASS_NOT_FOUND);
                }
 
                // Create dummy ship