Diffstat (limited to 'htdocs/exceptions/preprocess.chtml') (more/less context) (ignore whitespace changes)
-rw-r--r-- | htdocs/exceptions/preprocess.chtml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/htdocs/exceptions/preprocess.chtml b/htdocs/exceptions/preprocess.chtml index 8516139..88b8741 100644 --- a/htdocs/exceptions/preprocess.chtml +++ b/htdocs/exceptions/preprocess.chtml | |||
@@ -1,28 +1,30 @@ | |||
1 | % html(); return; /* vim:set ft=sitecing: */ | 1 | % html(); return; /* vim:set ft=sitecing: */ |
2 | %%derive layout = "/ancestry/layout.chtml"; | 2 | %%derive layout = "/ancestry/layout.chtml"; |
3 | <%constructor> | 3 | <%constructor> |
4 | b_strict = false; | 4 | b_strict = false; |
5 | PN_PREV("/exceptions","exceptions","exception handling overview"); | ||
6 | PN_NEXT("/exceptions/compile","compile-time","compile-time errors"); | ||
5 | </%constructor> | 7 | </%constructor> |
6 | <%codemethod string title() %> | 8 | <%codemethod string title() %> |
7 | return "preprocessor exceptions handling"; | 9 | return "preprocessor exceptions handling"; |
8 | </%codemethod> | 10 | </%codemethod> |
9 | <%method void content() %> | 11 | <%method void content() %> |
10 | <h1>site-C-ing preprocessor exception handling</h1> | 12 | <h1>site-C-ing preprocessor exception handling</h1> |
11 | <p> | 13 | <p> |
12 | It was one of those days when you just can't type right and can't think of | 14 | It was one of those days when you just can't type right and can't think of |
13 | what you're typing. It is not unusual that, under such circumstances, you end | 15 | what you're typing. It is not unusual that, under such circumstances, you end |
14 | up with a code like <a | 16 | up with a code like <a |
15 | href="/view/htdocs/exceptions/development/preprocess.chtml" target="insert" | 17 | href="/view/htdocs/exceptions/development/preprocess.chtml" target="insert" |
16 | title="the link opens in the frame below">this</a> -- by the time you were | 18 | title="the link opens in the frame below">this</a> -- by the time you were |
17 | about to close your <code><%code></code> block you were thinking about | 19 | about to close your <code><%code></code> block you were thinking about |
18 | some constructor in some component elsewhere in the universe. | 20 | some constructor in some component elsewhere in the universe. |
19 | </p> | 21 | </p> |
20 | <p> | 22 | <p> |
21 | <em>site-C-ing</em> parser will see the inconsistency and throw an exception | 23 | <em>site-C-ing</em> parser will see the inconsistency and throw an exception |
22 | which will be caught and passed to <a | 24 | which will be caught and passed to <a |
23 | href="/view/htdocs/handlers/exception_dev" target="insert" title="the link | 25 | href="/view/htdocs/handlers/exception_dev" target="insert" title="the link |
24 | opens in the frame below">the handler</a>, specified in <a | 26 | opens in the frame below">the handler</a>, specified in <a |
25 | href="/view/htdocs/exceptions/development/.scrc" target="insert" title="the | 27 | href="/view/htdocs/exceptions/development/.scrc" target="insert" title="the |
26 | link opens in the frame below">the configuration file</a>, which will produce | 28 | link opens in the frame below">the configuration file</a>, which will produce |
27 | some nice, human-readable <a href="/exceptions/development/preprocess" | 29 | some nice, human-readable <a href="/exceptions/development/preprocess" |
28 | target="insert" title="the link opens in the frame below">output</a>. Well, | 30 | target="insert" title="the link opens in the frame below">output</a>. Well, |