mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Prepared refactoring of exceptions
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
* @deprecated
|
||||
*/
|
||||
final class NotProcessedException extends \Exception
|
||||
{
|
||||
public function __construct($message = null)
|
@@ -7,6 +7,6 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class EntityNotFoundHttpException extends NotFoundHttpException
|
||||
final class EntityNotFoundException extends NotFoundHttpException
|
||||
{
|
||||
}
|
@@ -5,6 +5,6 @@ namespace Infinito\Exception;
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class UnvalidParameterException extends \Exception
|
||||
final class NoIdentityException extends \Exception
|
||||
{
|
||||
}
|
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
final class NotSortableException extends \Exception
|
||||
{
|
||||
}
|
@@ -4,6 +4,6 @@ namespace Infinito\Exception;
|
||||
|
||||
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
|
||||
|
||||
final class SourceAccessDenied extends AccessDeniedHttpException
|
||||
final class SourceAccessDeniedException extends AccessDeniedHttpException
|
||||
{
|
||||
}
|
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
final class RecursiveException extends \Exception
|
||||
{
|
||||
}
|
@@ -2,6 +2,11 @@
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*
|
||||
*/
|
||||
final class NoValidChoiceException extends \Exception
|
||||
{
|
||||
}
|
@@ -5,6 +5,6 @@ namespace Infinito\Exception;
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class NotValidByFormException extends \Exception
|
||||
class InvalidByFormException extends \Exception
|
||||
{
|
||||
}
|
@@ -7,6 +7,6 @@ namespace Infinito\Exception;
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class UnvalidGetParameterException extends UnvalidParameterException
|
||||
class InvalidGetParameterException extends InvalidParameterException
|
||||
{
|
||||
}
|
@@ -5,6 +5,6 @@ namespace Infinito\Exception;
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class PreconditionFailedException extends \Exception
|
||||
class InvalidParameterException extends \Exception
|
||||
{
|
||||
}
|
@@ -5,6 +5,6 @@ namespace Infinito\Exception;
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class UnvalidValueException extends \Exception
|
||||
class InvalidValueException extends \Exception
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user