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.

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