FormGroupClosedException.__construct ( array $  classArray,
code 
)

The constructor.

Parameters:
$classArray Class throwing the exception
$code Code number for the exception
Returns:
void

Definition at line 32 of file class_FormGroupClosedException.php.

References FrameworkException.__toString().

00032                                                                {
00033                 // Add a message around the missing class
00034                 $message = sprintf("[%s:%d] Could not add sub group <span class=\"exception_reason\">%s</span> because no form group has been opened before.",
00035                         $classArray[0]->__toString(),
00036                         $this->getLine(),
00037                         $classArray[1]
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:12:10 2008 for Ship-Simulator by  doxygen 1.5.6