class_InvalidDatabaseResultException.php

Go to the documentation of this file.
00001 <?php
00024 class InvalidDatabaseResultException extends FrameworkException {
00032         public function __construct(array $msgArray, $code) {
00033                 // Construct the message
00034                 $message = sprintf("[%s:%d] Database instance <span class=\"exception_reason\">%s</span> contains invalid entries.",
00035                         $msgArray[0]->__toString(),
00036                         $this->getLine(),
00037                         $msgArray[1]->__toString()
00038                 );
00039 
00040                 // Call parent exception constructor
00041                 parent::__construct($message, $code);
00042         }
00043 }
00044 
00045 // [EOF]
00046 ?>

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