Can you please make this compatible with [Joomla! coding standards](https://github.com/joomla/coding-standards/blob/master/README.md#joomla-coding-standards) and replace <code>JError</code> with standard PHP exceptions?

Thanks!