class_ShipPartNotConstructableException.php

Go to the documentation of this file.
00001 <?php
00024 class ShipPartNotConstructableException extends FrameworkException {
00025         public function __construct (array $partArray, $code) {
00026                 // Add a message around the missing class
00027                 $message = sprintf("Schiffteil <span class=\"exception_reason\">%s</span> ist nicht constrierbar!",
00028                         $partArray[0]
00029                 );
00030 
00031                 // Call parent constructor
00032                 parent::__construct($message, $code);
00033         }
00034 }
00035 
00036 // [EOF]
00037 ?>

Generated on Mon Dec 8 01:06:44 2008 for Ship-Simulator by  doxygen 1.5.6