NoShippingCompanyOwnedException.__construct ( array $  msgArray,
code 
)

Constructor of this exception.

Parameters:
$msgArray Message array with exception data
$code Exception code
Returns:
void

Definition at line 32 of file class_NoShippingCompanyOwnedException.php.

References FrameworkException.__toString().

00032                                                              {
00033                 // Add a message around the missing class
00034                 $message = sprintf("[%s:%d] Current user (class <span class=\"exception_reason\">%s</span>) does not own any shipping companies.",
00035                         $msgArray[0]->__toString(),
00036                         $this->getLine(),
00037                         $msgArray[1]->__toString()
00038                 );
00039 
00040                 // Call parent constructor
00041                 parent::__construct($message, $code);
00042         }

Here is the call graph for this function:


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