Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

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

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