Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

This file contains all the portfolio exception classes.

Copyright: 2008 Penny Leach <penny@catalyst.net.nz>, Martin Dougiamas
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 137 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 classes

portfolio_exception:: (0 methods):

portfolio_export_exception:: (1 method):
  __construct()

portfolio_caller_exception:: (0 methods):

portfolio_plugin_exception:: (0 methods):

portfolio_button_exception:: (0 methods):

portfolio_format_leap2a_exception:: (0 methods):


Class: portfolio_exception  - X-Ref

Top level portfolio exception.

Sometimes caught and re-thrown as portfolio_export_exception

Class: portfolio_export_exception  - X-Ref

Exception to throw during an export - will clean up session and tempdata

__construct($exporter, $errorcode, $module=null, $continue=null, $a=null)   X-Ref
Constructor.

param: portfolio_exporter $exporter instance of portfolio_exporter (will handle null case)
param: string $errorcode language string key
param: string $module language string module (optional, defaults to moodle)
param: string $continue url to continue to (optional, defaults to wwwroot)
param: object $a language string data (optional, defaults to  null)

Class: portfolio_caller_exception  - X-Ref

Exception for callers to throw when they have a problem.

Usually caught and rethrown as portfolio_export_exception

Class: portfolio_plugin_exception  - X-Ref

Exception for portfolio plugins to throw when they have a problem.

Usually caught and rethrown as portfolio_export_exception

Class: portfolio_button_exception  - X-Ref

Exception for interacting with the button class

Class: portfolio_format_leap2a_exception  - X-Ref

Leap2a exception - for invalid api calls