class_DimNotFoundInArrayException.php
Go to the documentation of this file.00001 <?php
00024 class DimNotFoundInArrayException extends FrameworkException {
00032 public function __construct (FrameworkInterface $class, $code) {
00033 if (is_object($class)) {
00034
00035 $message = sprintf("[%s:%d] Dimensions not found in array, array is invalid!",
00036 $class->__toString(),
00037 $this->getLine()
00038 );
00039 } else {
00040
00041 $message = sprintf("Please provide a class for <span class=\"exception_reason\">%s</span>", __CLASS__);
00042 }
00043
00044
00045 parent::__construct($message, $code);
00046 }
00047 }
00048
00049
00050 ?>