mirrored from git://git.moodle.org/moodle.git
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exceptions: MDL-16175 new invalid_state_exception
This is for those situations where something basically impossible happens, like $context->contextlevel not having one of the valid value, and you want to throw an exception (for example in the default: case of a switch) rather than just ignoring the possibility.
- Loading branch information
tjhunt
committed
May 8, 2009
1 parent
33e2e92
commit cce1b0b
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters