]> git.mxchange.org Git - shipsimu.git/blobdiff - ship-simu/application/ship-simu/exceptions/class_ShipPartNotConstructableException.php
(no commit message)
[shipsimu.git] / ship-simu / application / ship-simu / exceptions / class_ShipPartNotConstructableException.php
diff --git a/ship-simu/application/ship-simu/exceptions/class_ShipPartNotConstructableException.php b/ship-simu/application/ship-simu/exceptions/class_ShipPartNotConstructableException.php
deleted file mode 100644 (file)
index 338386e..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-
-// An exception class for lost classes... ;-)
-class ShipPartNotConstructableException extends FrameworkException {
-       public function __construct (array $partArray, $code) {
-               // Add a message around the missing class
-               $message = sprintf("Schiffteil <u>%s</u> ist nicht constrierbar!",
-                       $partArray[0]
-               );
-
-               // Call parent constructor
-               parent::__construct($message, $code);
-       }
-}
-
-// [EOF]
-?>