@@ -105,11 +105,9 @@ |
||
| 105 | 105 | ); |
| 106 | 106 | } |
| 107 | 107 | $parent = $compiler->getCore()->templateFactory($resource, $identifier, null, null, null, $curTpl); |
| 108 | - } |
|
| 109 | - catch (SecurityException $e) { |
|
| 108 | + } catch (SecurityException $e) { |
|
| 110 | 109 | throw new CompilationException($compiler, 'Inherits : Security restriction : ' . $e->getMessage()); |
| 111 | - } |
|
| 112 | - catch (Exception $e) { |
|
| 110 | + } catch (Exception $e) { |
|
| 113 | 111 | throw new CompilationException($compiler, 'Inherits : ' . $e->getMessage()); |
| 114 | 112 | } |
| 115 | 113 | |