Ben Ramsey
4e826c7486
[HttpKernel] added some more HTTP exceptions
2012-10-29 17:11:00 +01:00
Fabien Potencier
67d9253127
Merge branch '2.1'
...
* 2.1:
added missing use statment (closes #5825 )
Code cleanup
[WebProfilerBundle] Fixed the use of nested macros
Removed unused use statements.
Nsdocblocks
[ConfigDumpReference] avoid notice for variable nodes
fixed fallback locale
UniqueValidatorTest, Change message on assertions
Documented removed _form_is_choice_group function
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Command/ConfigDumpReferenceCommand.php
src/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.php
2012-10-24 17:41:27 +02:00
Drak
788cc2c7ef
Nsdocblocks
2012-10-20 09:10:30 +02:00
Ray
ef18e00283
[HttpKernel] Added a bit to convert incomplete objects in the error message
2012-09-28 21:03:47 +02:00
Fabien Potencier
bd18907150
[HttpKernel] moved some mis-placed logic to FlattenException
2012-07-13 09:48:10 +02:00
Fabien Potencier
d100ffaf76
fixed CS
2012-07-09 14:54:20 +02:00
Fabien Potencier
41621e42e9
fixed phpdoc @param alignment
2012-05-15 22:19:31 +02:00
Larry Garfield
a22f0cdc32
Enhance FlattenException to include more methods from Exception. That allows it to be used in place of Exception in more places.
2012-04-19 23:45:54 -05:00
Fabien Potencier
8d79ebc8ce
[HttpKernel] added some unit tests for ExceptionHandler and
...
FlattenException
2012-01-22 11:19:40 +01:00
Fabien Potencier
1238bb3d53
[HttpKernel] lowered the number of level to keep in Flattened exceptions to make the tests pass when XDebug is enabled (beause of the default max nesting level of 100)
2011-07-16 00:29:33 +02:00
Christophe Coevoet
11369eb7e4
Fixed phpdoc
2011-07-11 14:08:49 +02:00
Christophe Coevoet
dbe1854e1f
Added a AccessDeniedHttpException to wrap the AccessDeniedException.
...
See #1631
2011-07-11 13:12:24 +02:00
Fabien Potencier
76a5816d60
[HttpKernel] fixed recursion when flattenning an exception stack trace
2011-07-07 10:59:18 +02:00
Fabien Potencier
2e1747bf76
added more information about a resource in error and debug messages
2011-06-20 10:16:09 +02:00
Lukas Kahwe Smith
fd97c0caca
renamed getPreviouses() to getAllPrevious
2011-04-24 01:08:15 +02:00
Fabien Potencier
0e57943531
[HttpKernel] fixed typo
2011-03-25 07:19:02 +01:00
Fabien Potencier
1b8dc80215
[HttpKernel] moved from protected to private
2011-03-23 19:47:16 +01:00
Fabien Potencier
662a4b3740
removed the status message from HttpException, changed the signature so that most useful arguments are first, fixed many small problems introduced with previous HTTP exception refactoring
...
Quote from HTTP (bis) spec (Part 2 - 5.1.1):
The Reason Phrase exists for the
sole purpose of providing a textual description associated with the
numeric status code, out of deference to earlier Internet application
protocols that were more frequently used with interactive text
clients. A client SHOULD ignore the content of the Reason Phrase.
2011-03-23 16:11:54 +01:00
Fabien Potencier
abb99e9469
[HttpKernel] changed the abstract BaseHttpException to HttpException to allow the creation of any HTTP exception
2011-03-23 11:12:31 +01:00
Kris Wallsmith
10dc18b28b
[HttpKernel] refactored HTTP exceptions to be more flexible
2011-03-21 05:57:35 -07:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Fabien Potencier
55bed307f1
removed HttpException base class, refactored FlattenException class
2010-12-10 09:16:42 +01:00
Fabien Potencier
23fbd87164
[HttpKernel] removed UnauthorizedHttpException as this should be handled by the Security component
2010-12-10 09:02:26 +01:00
Fabien Potencier
131776001f
removed ForbiddenHttpException
...
Both HttpKernel and Security define a 403 exception:
* Symfony\Component\HttpKernel\Exception\ForbiddenHttpException
* Symfony\Component\Security\Exception\AccessDeniedException
The one in HttpKernel has been removed in favor of the Security one.
2010-12-10 09:00:06 +01:00
Fabien Potencier
d036448542
[HttpKernel] simplified code
2010-12-10 08:50:45 +01:00
Ryan Weaver
be94daba66
[HttpKernel] Reworking the HttpException class constructor to be more consistent with normal OO classes. Additionally, the base HttpException constructor was changed to require a code argument as it doesn't make sense to create an exception that will translate into a status code of 0 (in fact it'll cause a strange error).
2010-12-10 08:47:25 +01:00
Fabien Potencier
6fa943ad54
moved Exception and WebProfiler templates to Twig
2010-11-21 15:37:01 +01:00
Kris Wallsmith
f79e23ffb5
Removed all those spaces after @author that were bothering me so…
2010-10-18 16:55:41 +02:00
Fabien Potencier
84c383d729
[HttpKernel] fixed exception constructor signature
2010-09-01 09:48:48 +02:00
Fabien Potencier
48b6057c3a
[HttpKernel] fixed Exception classes to implement the full constructor
2010-09-01 08:49:52 +02:00
Fabien Potencier
ab9be87354
[HttpKernel] fixed FlattenException status code
2010-09-01 08:49:19 +02:00
Fabien Potencier
1e1a4113c7
[HttpKernel] fixed missing use statement
2010-08-31 19:21:00 +02:00
Fabien Potencier
0208800459
refactored exception management (removed the ExceptionManager)
2010-08-29 12:35:48 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00