class_NoShipyardsConstructedException.php

Go to the documentation of this file.
00001 <?php
00024 class NoShipyardsConstructedException extends FrameworkException {
00025         public function __construct (FrameworkInterface $class, $code) {
00026                 // No class given
00027                 $message = sprintf("Please provide a class for <span class=\"exception_reason\">%s</span>", __CLASS__);
00028                 if (is_object($class)) {
00029                         // Add a message around the missing class
00030                         $message = sprintf("[%s:] Keine Werften gefunden!",
00031                                 $class->__toString()
00032                         );
00033                 } // END - if
00034 
00035                 // Call parent constructor
00036                 parent::__construct($message, $code);
00037         }
00038 }
00039 
00040 // [EOF]
00041 ?>

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