FileReadProtectedException.__construct ( fileName,
code 
)

The constructor.

Parameters:
$fileName File which cannot be read from
$code Code number for the exception
Returns:
void

Reimplemented from FrameworkException.

Definition at line 32 of file class_FileReadProtectedException.php.

00032                                                        {
00033                 // Add a message around the missing class
00034                 $message = sprintf("File <span class=\"exception_reason\">%s</span> is read-protected. Please set read access rights (CHMOD).", $fileName);
00035 
00036                 // Call parent constructor
00037                 parent::__construct($message, $code);
00038         }


Generated on Mon Dec 8 01:12:04 2008 for Ship-Simulator by  doxygen 1.5.6