Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 310 and 400] [Versions 39 and 400]

LICENSE

Author: Rodney Rehm <rodney.rehm@medialize.de>
Author: Christian Kruse <cjk@wwwtech.de>
Copyright: Copyright © 2018 Teclib
License: MIT
File Size: 133 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

IOException:: (6 methods):
  __construct()
  notFound()
  notReadable()
  notWritable()
  readError()
  writeError()


Class: IOException  - X-Ref

__construct($path, $type = null)   X-Ref
Create new IOException

param: string $path Source of the problem
param: integer $type Type of the problem

notFound($path)   X-Ref
Create new FileNotFound-Exception

return: IOException new FileNotFound-Exception
param: string $path Source of the problem

notReadable($path)   X-Ref
Create new FileNotReadable-Exception

return: IOException new FileNotReadable-Exception
param: string $path Source of the problem

notWritable($path)   X-Ref
Create new FileNotWritable-Exception

return: IOException new FileNotWritable-Exception
param: string $path Source of the problem

readError($path)   X-Ref
Create new ReadError-Exception

return: IOException new ReadError-Exception
param: string $path Source of the problem

writeError($path)   X-Ref
Create new WriteError-Exception

return: IOException new WriteError-Exception
param: string $path Source of the problem