2.1-beta1: User API: Opt_NotSupported_Exception not supported #4

Open
Skrupellos opened this Issue Sep 4, 2011 · 1 comment

2 participants

@Skrupellos

(This is a copy of http://bugs.invenzzia.org/task/179 )

It seems that throwing an "Opt_NotSupported_Exception" exceptions is not supported :-) (Those type of errors make me smile while working. Is it rather an easter egg? :P ).

Below is a list of occurrences of the "Opt_NotSupported_Exception" keyword, but no class definition.

# grep -R -n NotSupported Op*
Opt/Expression/Standard.php:292:                        throw new Opt_NotSupported_Exception('language variable call', 'no translation interface installed');
Opt/Expression/Standard.php:564:                                                throw new Opt_OperationNotSupported_Exception($path, $this->_dfCalls[$context]);
Opt/Expression/Standard.php:999:                        throw new Opt_NotSupported_Exception('direct object access', 'disabled by the configuration');
Opt/Expression/Standard.php:1025:                       throw new Opt_NotSupported_Exception('direct object access', 'disabled by the configuration');
Opt/Expression/Standard.php:1045:                       throw new Opt_NotSupported_Exception('direct object access', 'disabled by the configuration');
Opt/Expression/Standard.php:1082:                       throw new Opt_NotSupported_Exception('direct class access', 'disabled by the configuration');
Opt/Expression/Standard.php:1124:                       throw new Opt_NotSupported_Exception('direct object access', 'disabled by the configuration');
Opt/Expression/Standard.php:1160:                       throw new Opt_NotSupported_Exception('direct array access', 'disabled by the configuration');
Opt/Expression/Standard.php:1184:                       throw new Opt_NotSupported_Exception('direct array access', 'disabled by the configuration');
Opt/Expression/Standard.php:1205:                       throw new Opt_NotSupported_Exception('object creation', 'disabled by the configuration');
@megawebmaster
OPL Foundation member

Huh, that's rather leftover after changing exception naming convention, it will be finally renamed as "Opt_Exception" or "Opt_Expression_Exception", but it must be confirmed by Zyx.

@megawebmaster megawebmaster reopened this Sep 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment