NoShipyardsConstructedException.__construct ( FrameworkInterface class,
code 
)

Definition at line 25 of file class_NoShipyardsConstructedException.php.

References FrameworkException.__toString().

00025                                                                        {
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         }

Here is the call graph for this function:


Generated on Mon Dec 8 01:15:40 2008 for Ship-Simulator by  doxygen 1.5.6