summaryrefslogtreecommitdiff
path: root/pages/page_exit.eh
blob: 5e26a321d36dd763d9ad607fbde06b2a0714057d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<# do not add to Makefile #>
<%pre>
#include "exception.h"
</%pre>
<%cpp>
	spoint.commit();
} catch ( vdrlive::HtmlError const& ex ) {
#ifdef TNTVERS7
	tnt::QueryParams param = qparam;
#else
	cxxtools::QueryParams param = qparam;
#endif
	param.add( "pageTitle", pageTitle );
	param.add( "errorMessage", ex.what() );
	callComp( "error", request, reply, param );
}
</%cpp>