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
00027 $message = sprintf("Please provide a class for <span class=\"exception_reason\">%s</span>", __CLASS__);
00028 if (is_object($class)) {
00029
00030 $message = sprintf("[%s:] Keine Werften gefunden!",
00031 $class->__toString()
00032 );
00033 }
00034
00035
00036 parent::__construct($message, $code);
00037 }
00038 }
00039
00040
00041 ?>