List of all Symfony2 Exceptions (symfony)

Source: http:\\www.forouzani.com\list-of-all-symfony2-exceptions-symfony.html

I regularly want a list of all the symfony2 exceptions to see if there are any that I can reuse, instead of creating my own.
Unfortunately, I have found no way to find a list of all the exceptions, so I took it upon myself to create an Exception list.
The list below shows all the exceptions with their full namespace as of Symfony 2.1.2


\Symfony\Component\OptionsResolver\Exception\MissingOptionsException
\Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
\Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
\Symfony\Component\Serializer\Exception\InvalidArgumentException
\Symfony\Component\Serializer\Exception\UnsupportedException
\Symfony\Component\Serializer\Exception\UnexpectedValueException
\Symfony\Component\Serializer\Exception\LogicException
\Symfony\Component\Serializer\Exception\Exception
\Symfony\Component\Serializer\Exception\RuntimeException
\Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
\Symfony\Component\HttpKernel\Exception\NotFoundHttpException
\Symfony\Component\HttpKernel\Exception\HttpException
\Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException
\Symfony\Component\HttpKernel\Exception\FlattenException
\Symfony\Component\Form\Exception\InvalidConfigurationException
\Symfony\Component\Form\Exception\TransformationFailedException
\Symfony\Component\Form\Exception\PropertyAccessDeniedException
\Symfony\Component\Form\Exception\TypeLoaderException
\Symfony\Component\Form\Exception\NotInitializedException
\Symfony\Component\Form\Exception\NotValidException
\Symfony\Component\Form\Exception\AlreadyBoundException
\Symfony\Component\Form\Exception\InvalidPropertyPathException
\Symfony\Component\Form\Exception\CreationException
\Symfony\Component\Form\Exception\StringCastException
\Symfony\Component\Form\Exception\FormException
\Symfony\Component\Form\Exception\TypeDefinitionException
\Symfony\Component\Form\Exception\UnexpectedTypeException
\Symfony\Component\Form\Exception\ErrorMappingException
\Symfony\Component\Form\Exception\InvalidPropertyException
\Symfony\Component\Process\Exception\ProcessFailedException
\Symfony\Component\Process\Exception\RuntimeException
\Symfony\Component\Yaml\Exception\DumpException
\Symfony\Component\Yaml\Exception\ParseException
\Symfony\Component\Filesystem\Exception\IOException
\Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException
\Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException
\Symfony\Component\HttpFoundation\File\Exception\UnexpectedTypeException
\Symfony\Component\HttpFoundation\File\Exception\UploadException
\Symfony\Component\HttpFoundation\File\Exception\FileException
\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException
\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException
\Symfony\Component\DependencyInjection\Exception\LogicException
\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException
\Symfony\Component\DependencyInjection\Exception\BadMethodCallException
\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException
\Symfony\Component\DependencyInjection\Exception\RuntimeException
\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException
\Symfony\Component\DependencyInjection\Exception\InactiveScopeException
\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException
\Symfony\Component\DependencyInjection\Exception\ScopeCrossingInjectionException
\Symfony\Component\DependencyInjection\Exception\ScopeWideningInjectionException
\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException
\Symfony\Component\Config\Exception\FileLoaderLoadException
\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException
\Symfony\Component\Config\Definition\Exception\UnsetKeyException
\Symfony\Component\Config\Definition\Exception\Exception
\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException
\Symfony\Component\Config\Definition\Exception\InvalidTypeException
\Symfony\Component\Config\Definition\Exception\DuplicateKeyException
\Symfony\Component\Routing\Exception\InvalidParameterException
\Symfony\Component\Routing\Exception\ResourceNotFoundException
\Symfony\Component\Routing\Exception\MissingMandatoryParametersException
\Symfony\Component\Routing\Exception\RouteNotFoundException
\Symfony\Component\Routing\Exception\MethodNotAllowedException
\Symfony\Component\Validator\Exception\MappingException
\Symfony\Component\Validator\Exception\MissingOptionsException
\Symfony\Component\Validator\Exception\GroupDefinitionException
\Symfony\Component\Validator\Exception\ConstraintDefinitionException
\Symfony\Component\Validator\Exception\UnexpectedTypeException
\Symfony\Component\Validator\Exception\InvalidOptionsException
\Symfony\Component\Validator\Exception\ValidatorException
\Symfony\Component\Locale\Exception\MethodArgumentValueNotImplementedException
\Symfony\Component\Locale\Exception\MethodArgumentNotImplementedException
\Symfony\Component\Locale\Exception\MethodNotImplementedException
\Symfony\Component\Locale\Exception\NotImplementedException
\Symfony\Component\CssSelector\Exception\ParseException
\Symfony\Component\Security\Core\Exception\SessionUnavailableException
\Symfony\Component\Security\Core\Exception\AuthenticationException
\Symfony\Component\Security\Core\Exception\UnsupportedUserException
\Symfony\Component\Security\Core\Exception\AccessDeniedException
\Symfony\Component\Security\Core\Exception\CredentialsExpiredException
\Symfony\Component\Security\Core\Exception\UsernameNotFoundException
\Symfony\Component\Security\Core\Exception\LogoutException
\Symfony\Component\Security\Core\Exception\CookieTheftException
\Symfony\Component\Security\Core\Exception\InsufficientAuthenticationException
\Symfony\Component\Security\Core\Exception\DisabledException
\Symfony\Component\Security\Core\Exception\InvalidCsrfTokenException
\Symfony\Component\Security\Core\Exception\LockedException
\Symfony\Component\Security\Core\Exception\AuthenticationServiceException
\Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException
\Symfony\Component\Security\Core\Exception\TokenNotFoundException
\Symfony\Component\Security\Core\Exception\AccountExpiredException
\Symfony\Component\Security\Core\Exception\NonceExpiredException
\Symfony\Component\Security\Core\Exception\AccountStatusException
\Symfony\Component\Security\Core\Exception\ProviderNotFoundException
\Symfony\Component\Security\Core\Exception\BadCredentialsException
\Symfony\Component\Security\Acl\Exception\SidNotLoadedException
\Symfony\Component\Security\Acl\Exception\AclNotFoundException
\Symfony\Component\Security\Acl\Exception\NotAllAclsFoundException
\Symfony\Component\Security\Acl\Exception\InvalidDomainObjectException
\Symfony\Component\Security\Acl\Exception\NoAceFoundException
\Symfony\Component\Security\Acl\Exception\Exception
\Symfony\Component\Security\Acl\Exception\ConcurrentModificationException
\Symfony\Component\Security\Acl\Exception\AclAlreadyExistsException


Since most symfony2 installations also include doctrine2, below is a list of all the Doctrine 2 Exceptions.


\Doctrine\Common\DataFixtures\Exception\CircularReferenceException
\Doctrine\Common\Annotations\AnnotationException
\Doctrine\Common\CommonException
\Doctrine\Common\Persistence\Mapping\MappingException
\Doctrine\ORM\TransactionRequiredException
\Doctrine\ORM\Query\QueryException
\Doctrine\ORM\Query\AST\ASTException
\Doctrine\ORM\Mapping\MappingException
\Doctrine\ORM\UnexpectedResultException
\Doctrine\ORM\PessimisticLockException
\Doctrine\ORM\OptimisticLockException
\Doctrine\ORM\Internal\Hydration\HydrationException
\Doctrine\ORM\ORMException
\Doctrine\ORM\NonUniqueResultException
\Doctrine\ORM\EntityNotFoundException
\Doctrine\ORM\Tools\ToolsException
\Doctrine\ORM\Tools\Export\ExportException
\Doctrine\ORM\Proxy\ProxyException
\Doctrine\ORM\NoResultException
\Doctrine\ORM\ORMInvalidArgumentException
\Doctrine\DBAL\Query\QueryException
\Doctrine\DBAL\Types\ConversionException
\Doctrine\DBAL\Schema\SchemaException
\Doctrine\DBAL\Sharding\ShardingException
\Doctrine\DBAL\ConnectionException
\Doctrine\DBAL\Cache\CacheException
\Doctrine\DBAL\Driver\OCI8\OCI8Exception
\Doctrine\DBAL\Driver\SQLSrv\SQLSrvException
\Doctrine\DBAL\Driver\Mysqli\MysqliException
\Doctrine\DBAL\Driver\IBMDB2\DB2Exception
\Doctrine\DBAL\DBALException

Trackbacks

Trackback specific URI for this entry

This link is not meant to be clicked. It contains the trackback URI for this entry. You can use this URI to send ping- & trackbacks from your own blog to this entry. To copy the link, right click and select "Copy Shortcut" in Internet Explorer or "Copy Link Location" in Mozilla.

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.
Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.