v1.2.7.416

This commit is contained in:
RainLoop Team 2013-09-30 21:01:08 +04:00
parent 54e2645fcf
commit 3b27abbe9a
434 changed files with 51 additions and 72 deletions

View file

@ -0,0 +1,10 @@
<?php
namespace Buzz\Exception;
/**
* Thrown whenever a client process fails.
*/
class ClientException extends RuntimeException
{
}

View file

@ -0,0 +1,10 @@
<?php
namespace Buzz\Exception;
/**
* Marker interface to denote exceptions thrown from the Buzz context.
*/
interface ExceptionInterface
{
}

View file

@ -0,0 +1,10 @@
<?php
namespace Buzz\Exception;
/**
* Thrown when an invalid argument is provided.
*/
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{
}

View file

@ -0,0 +1,10 @@
<?php
namespace Buzz\Exception;
/**
* Thrown whenever a required call-flow is not respected.
*/
class LogicException extends \LogicException implements ExceptionInterface
{
}

View file

@ -0,0 +1,7 @@
<?php
namespace Buzz\Exception;
class RuntimeException extends \RuntimeException implements ExceptionInterface
{
}