ResultUpdateException.__construct ( UpdateableResult resultInstance,
code 
)

The super constructor for all exceptions.

Parameters:
$resultInstance Instance of the failed result update
$code Error code
Returns:
void

Definition at line 32 of file class_ResultUpdateException.php.

References FrameworkException.__toString().

00032                                                                              {
00033                 // Construct the message
00034                 $message = sprintf("[%s:%d] Update of result instance has nothing changed.",
00035                         $resultInstance->__toString(),
00036                         $this->getLine()
00037                 );
00038 
00039                 // Call parent exception constructor
00040                 parent::__construct($message, $code);
00041         }

Here is the call graph for this function:


Generated on Mon Dec 8 01:17:21 2008 for Ship-Simulator by  doxygen 1.5.6