mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-10-30 17:22:08 +00:00
Prepared refactoring of exceptions
This commit is contained in:
1 parent
0e1d5ea024
commit
48a98cfc63
22 files changed
+125
-22
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+5
@@ -2,6 +2,11 @@
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
* @deprecated
|
||||
*/
|
||||
final class NotProcessedException extends \Exception
|
||||
{
|
||||
public function __construct($message = null)
|
||||
+1
-1
@@ -7,6 +7,6 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class EntityNotFoundHttpException extends NotFoundHttpException
|
||||
final class EntityNotFoundException extends NotFoundHttpException
|
||||
{
|
||||
}
|
||||
+1
-1
@@ -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
|
||||
{
|
||||
}
|
||||
File renamed without changes.
+1
-1
@@ -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
|
||||
{
|
||||
}
|
||||
+5
@@ -2,6 +2,11 @@
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*
|
||||
*/
|
||||
final class NoValidChoiceException extends \Exception
|
||||
{
|
||||
}
|
||||
+1
-1
@@ -5,6 +5,6 @@ namespace Infinito\Exception;
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class NotValidByFormException extends \Exception
|
||||
class InvalidByFormException extends \Exception
|
||||
{
|
||||
}
|
||||
+1
-1
@@ -7,6 +7,6 @@ namespace Infinito\Exception;
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class UnvalidGetParameterException extends UnvalidParameterException
|
||||
class InvalidGetParameterException extends InvalidParameterException
|
||||
{
|
||||
}
|
||||
+1
-1
@@ -5,6 +5,6 @@ namespace Infinito\Exception;
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class PreconditionFailedException extends \Exception
|
||||
class InvalidParameterException extends \Exception
|
||||
{
|
||||
}
|
||||
+1
-1
@@ -5,6 +5,6 @@ namespace Infinito\Exception;
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class UnvalidValueException extends \Exception
|
||||
class InvalidValueException extends \Exception
|
||||
{
|
||||
}
|
||||
Reference in new issue
Block a user