contextid = $contextid; $a->filearea = $filearea; $a->itemid = $itemid; $a->filepath = $filepath; $a->filename = $filename; parent::__construct('storedfilenotcreated', $a, $debuginfo); } } /** * Table does not exist problem exception */ class file_access_exception extends file_exception { function __construct($debuginfo=null) { parent::__construct('nopermissions', NULL, $debuginfo); } } /** * Hash file content problem */ class file_pool_content_exception extends file_exception { function __construct($contenthash, $debuginfo=null) { parent::__construct('hashpoolproblem', $contenthash, $debuginfo); } }