joomla/joomla-platform — pull request #1318 by chdemko (2012-06-27 00:22:34+00:00)
Title: Changing error messages into ErrorException

This will allow to not use the silent operator @ for php function that emit error message such as fopen, ...

i.e.

instead of doing

$handle = @fopen('/path/to/file', 'w');

we could do

try
{
$handle = fopen('/path/to/file', 'w');
}
catch (ErrorException $e)
{
// Deal with error
}