Harmonize exceptions

This commit is contained in:
Romain Neutron 2012-04-24 23:05:00 +02:00
commit 8a3c5e7941
5 changed files with 21 additions and 4 deletions

View file

@ -11,7 +11,7 @@
namespace FFMpeg\Exception;
class BinaryNotFoundException extends \Exception
class BinaryNotFoundException extends \Exception implements Exception
{
}

View file

@ -0,0 +1,17 @@
<?php
/*
* This file is part of PHP-FFmpeg.
*
* (c) Alchemy <info@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FFMpeg\Exception;
interface Exception
{
}

View file

@ -11,7 +11,7 @@
namespace FFMpeg\Exception;
class InvalidFileArgumentException extends \InvalidArgumentException
class InvalidFileArgumentException extends \InvalidArgumentException implements Exception
{
}

View file

@ -11,7 +11,7 @@
namespace FFMpeg\Exception;
class LogicException extends \LogicException
class LogicException extends \LogicException implements Exception
{
}

View file

@ -11,7 +11,7 @@
namespace FFMpeg\Exception;
class RuntimeException extends \RuntimeException
class RuntimeException extends \RuntimeException implements Exception
{
}