Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

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

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

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

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

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

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

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

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

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

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