moved all exceptions to Twig_Error_*
authorFabien Potencier <fabien.potencier@gmail.com>
Sun, 7 Nov 2010 21:18:31 +0000 (22:18 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Sun, 7 Nov 2010 21:18:31 +0000 (22:18 +0100)
commit7ea98b6c90f6d853efce978e313983e3fa430a40
tree586a2aef0775d576cb0c7ab007cd1d5db06785fe
parentf34e374bb6002dad908409a7f57ef6e2d54d908f
moved all exceptions to Twig_Error_*
29 files changed:
lib/Twig/Environment.php
lib/Twig/Error/Loader.php [copied from lib/Twig/RuntimeError.php with 65% similarity]
lib/Twig/Error/Runtime.php [moved from lib/Twig/RuntimeError.php with 89% similarity]
lib/Twig/Error/Syntax.php [moved from lib/Twig/SyntaxError.php with 96% similarity]
lib/Twig/ExpressionParser.php
lib/Twig/Extension/Core.php
lib/Twig/Grammar/Switch.php [new file with mode: 0644]
lib/Twig/Lexer.php
lib/Twig/Loader/Array.php
lib/Twig/Loader/Filesystem.php
lib/Twig/Node.php
lib/Twig/Node/Expression/Filter.php
lib/Twig/Node/Expression/Test.php
lib/Twig/Parser.php
lib/Twig/SimpleTokenParser.php
lib/Twig/Template.php
lib/Twig/Token.php
lib/Twig/TokenParser/AutoEscape.php
lib/Twig/TokenParser/Block.php
lib/Twig/TokenParser/Extends.php
lib/Twig/TokenParser/If.php
lib/Twig/TokenParser/Parent.php
lib/Twig/TokenParser/Set.php
lib/Twig/TokenParser/Trans.php
lib/Twig/TokenParserBroker.php
lib/Twig/TokenStream.php
test/Twig/Tests/Node/Expression/FilterTest.php
test/Twig/Tests/SimpleTokenParserTest.php
test/Twig/Tests/grammarTest.php