class_InvalidArrayCountException.php

Go to the documentation of this file.
00001 <?php
00024 class InvalidArrayCountException extends FrameworkException {
00032         public function __construct (array $array, $code) {
00033                 // Add a message around the missing class
00034                 $message = sprintf("[%s:%d] <span class=\"exception_reason\">%s</span> hat <u>%d</u> Elemente, soll aber <u>%d</u> enthalten!",
00035                         $array[0]->__toString(),
00036                         $this->getLine(),
00037                         $array[1],
00038                         $array[2],
00039                         $array[3]
00040                 );
00041 
00042                 // Call parent constructor
00043                 parent::__construct($message, $code);
00044         }
00045 }
00046 
00047 // [EOF]
00048 ?>

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