mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
In between commit Exception refactoring
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception\Attribut;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class AllreadyDefinedAttributException extends \Exception
|
||||
{
|
||||
}
|
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
final class AllreadyDefinedException extends \Exception
|
||||
{
|
||||
}
|
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
final class NotDefinedException extends \Exception
|
||||
{
|
||||
public function __construct($message = null)
|
||||
{
|
||||
parent::__construct($message);
|
||||
}
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception\Attribut;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class UndefinedAttributException extends \Exception
|
||||
{
|
||||
}
|
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
use Symfony\Component\HttpKernel\Exception\ConflictHttpException;
|
||||
|
||||
final class AllreadySetException extends ConflictHttpException
|
||||
{
|
||||
}
|
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception\Collection;
|
||||
|
||||
use Symfony\Component\HttpKernel\Exception\ConflictHttpException;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class ContainsElementException extends ConflictHttpException
|
||||
{
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception\Collection;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class NotPossibleSetElementException extends \Exception
|
||||
{
|
||||
}
|
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception\Collection;
|
||||
|
||||
use Symfony\Component\HttpKernel\Exception\ConflictHttpException;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class NotSetElementException extends ConflictHttpException
|
||||
{
|
||||
}
|
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
use Symfony\Component\HttpKernel\Exception\ConflictHttpException;
|
||||
|
||||
final class NotSetException extends ConflictHttpException
|
||||
{
|
||||
}
|
@@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class SetNotPossibleException extends \Exception
|
||||
{
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception\Core;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class NoDefaultClassCoreException extends \Exception
|
||||
{
|
||||
}
|
@@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class NoDefaultClassException extends \Exception
|
||||
{
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception\Core;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class NoIdentityCoreException extends \Exception
|
||||
{
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception\Core;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class NotCorrectInstanceCoreException extends \TypeError
|
||||
{
|
||||
}
|
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
class NotCorrectInstanceException extends \TypeError
|
||||
{
|
||||
}
|
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
namespace Infinito\Exception\Deprecated;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
final class NotProcessedException extends \Exception
|
||||
|
@@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class NoIdentityException extends \Exception
|
||||
{
|
||||
}
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
namespace Infinito\Exception\NotFound;
|
||||
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception\Permission;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class NoPermissionException extends \Exception
|
||||
{
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception\Permission;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class NoSourcePermissionException extends NoPermissionException
|
||||
{
|
||||
}
|
@@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class NotSecureException extends \Exception
|
||||
{
|
||||
}
|
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
|
||||
|
||||
final class SourceAccessDeniedException extends AccessDeniedHttpException
|
||||
{
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception\Type;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class InvalidChoiceTypeException extends \Exception
|
||||
{
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Exception;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*
|
||||
*/
|
||||
final class NoValidChoiceException extends \Exception
|
||||
{
|
||||
}
|
@@ -5,6 +5,6 @@ namespace Infinito\Exception\Validation;
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class InvalidParameterException extends \Exception
|
||||
final class FormInvalidException extends \Exception
|
||||
{
|
||||
}
|
@@ -7,6 +7,6 @@ namespace Infinito\Exception\Validation;
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class InvalidGetParameterException extends InvalidParameterException
|
||||
final class GetParameterInvalidException extends ParameterInvalidException
|
||||
{
|
||||
}
|
@@ -5,6 +5,6 @@ namespace Infinito\Exception\Validation;
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class InvalidByFormException extends \Exception
|
||||
class ParameterInvalidException extends \Exception
|
||||
{
|
||||
}
|
@@ -5,6 +5,6 @@ namespace Infinito\Exception\Validation;
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class InvalidValueException extends \Exception
|
||||
final class ValueInvalidException extends \Exception
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user