? Pending

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
14 Aug 2016

This a PoC for adding a custom exception.

Well, if there isn't something in the standard SPL exceptions, just add a custom class like we have in the database API.

I'm new to this exception things so @mbabker please i ask you to review this code.

This basicly is adding a custom exception JControllerExceptionNotAllowed to apply to all components.
Is this the way to do it?

I add to use JLoader because the exception class is not autoloaded in the error page.

avatar joomla-cms-bot joomla-cms-bot - change - 14 Aug 2016
Category Administration Components Libraries
avatar andrepereiradasilva andrepereiradasilva - open - 14 Aug 2016
avatar andrepereiradasilva andrepereiradasilva - change - 14 Aug 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 Aug 2016
Labels Added: ?
avatar andrepereiradasilva
andrepereiradasilva - comment - 14 Aug 2016

sorry wrong repository

avatar andrepereiradasilva andrepereiradasilva - change - 14 Aug 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-08-14 00:11:27
Closed_By andrepereiradasilva
avatar andrepereiradasilva andrepereiradasilva - close - 14 Aug 2016
avatar andrepereiradasilva andrepereiradasilva - edited - 14 Aug 2016

Add a Comment

Login with GitHub to post a comment