File handling related exceptions.
Copyright: | 2008 Petr Skoda (http://skodak.org) |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 146 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
file_exception:: (1 method):
__construct()
stored_file_creation_exception:: (1 method):
__construct()
file_access_exception:: (1 method):
__construct()
file_pool_content_exception:: (1 method):
__construct()
file_reference_exception:: (1 method):
__construct()
Class: file_exception - X-Ref
Basic file related exception class.__construct($errorcode, $a=NULL, $debuginfo = NULL) X-Ref |
Constructor param: string $errorcode error code param: stdClass $a Extra words and phrases that might be required in the error string param: string $debuginfo optional debugging information |
Class: stored_file_creation_exception - X-Ref
Cannot create file exception.__construct($contextid, $component, $filearea, $itemid, $filepath, $filename, $debuginfo = null) X-Ref |
Constructor. param: int $contextid context ID param: string $component component param: string $filearea file area param: int $itemid item ID param: string $filepath file path param: string $filename file name param: string $debuginfo extra debug info |
Class: file_access_exception - X-Ref
No file access exception.__construct($debuginfo = null) X-Ref |
Constructor. param: string $debuginfo extra debug info |
Class: file_pool_content_exception - X-Ref
Hash file content problem exception.__construct($contenthash, $debuginfo = null) X-Ref |
Constructor. param: string $contenthash content hash param: string $debuginfo extra debug info |
Class: file_reference_exception - X-Ref
Problem with records in the {files_reference} table.__construct($repositoryid, $reference, $referencefileid=null, $fileid=null, $debuginfo=null) X-Ref |
Constructor. param: int $repositoryid the id of the repository that provides the referenced file param: string $reference the information for the repository to locate the file param: int|null $referencefileid the id of the record in {files_reference} if known param: int|null $fileid the id of the referrer's record in {files} if known param: string|null $debuginfo extra debug info |