summaryrefslogtreecommitdiff
path: root/framework/Exceptions
diff options
context:
space:
mode:
authorxue <>2005-11-18 23:10:40 +0000
committerxue <>2005-11-18 23:10:40 +0000
commit78601a744a54736764173ca5cbedb1cca9d2ce81 (patch)
tree2428b4b2f4bc00e4e37b6cfd7a9fd747c900f610 /framework/Exceptions
parent53cb82bd1525adac534404657310961dc53796b2 (diff)
Diffstat (limited to 'framework/Exceptions')
-rw-r--r--framework/Exceptions/exception-en.tpl37
-rw-r--r--framework/Exceptions/exception-zh.tpl37
2 files changed, 74 insertions, 0 deletions
diff --git a/framework/Exceptions/exception-en.tpl b/framework/Exceptions/exception-en.tpl
new file mode 100644
index 00000000..1d76c7f2
--- /dev/null
+++ b/framework/Exceptions/exception-en.tpl
@@ -0,0 +1,37 @@
+<html>
+<head>
+<title>%%ErrorType%%</title>
+<style>
+body {font-family:"Verdana";font-weight:normal;color:black;}
+h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
+h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
+h3 {font-family:"Verdana";font-weight:bold;font-size:11pt}
+p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top: -5px}
+code,pre {font-family:"Lucida Console";}
+td,.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+.source {font-family:"Lucida Console";font-weight:normal;background-color:#ffffee;}
+</style>
+</head>
+
+<body bgcolor="white">
+<h1>%%ErrorType%%</h1>
+<h3>Description</h3>
+<p style="color:maroon">%%ErrorMessage%%</p>
+<p>
+<h3>Source File</h3>
+<p>%%SourceFile%%</p>
+<div class="source">
+%%SourceCode%%
+</div>
+<h3>Stack Trace</h3>
+<div class="source">
+<code><pre>
+%%StackTrace%%
+</pre></code>
+</div>
+<div class="version">
+%%Version%%<br/>
+%%Time%%
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/framework/Exceptions/exception-zh.tpl b/framework/Exceptions/exception-zh.tpl
new file mode 100644
index 00000000..8f56ec9e
--- /dev/null
+++ b/framework/Exceptions/exception-zh.tpl
@@ -0,0 +1,37 @@
+<html>
+<head>
+<title>%%ErrorType%%</title>
+<style>
+body {font-family:"Verdana";font-weight:normal;color:black;}
+h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
+h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
+h3 {font-family:"Verdana";font-weight:bold;font-size:11pt}
+p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top: -5px}
+code,pre {font-family:"Lucida Console";}
+td,.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+.source {font-family:"Lucida Console";font-weight:normal;background-color:#ffffee;}
+</style>
+</head>
+
+<body bgcolor="white">
+<h1>%%ErrorType%%</h1>
+<h3>错误信息</h3>
+<p style="color:maroon">%%ErrorMessage%%</p>
+<p>
+<h3>错误代码文件</h3>
+<p>%%SourceFile%%</p>
+<div class="source">
+%%SourceCode%%
+</div>
+<h3>错误堆栈信息</h3>
+<div class="source">
+<code><pre>
+%%StackTrace%%
+</pre></code>
+</div>
+<div class="version">
+%%Version%%<br/>
+%%Time%%
+</div>
+</body>
+</html> \ No newline at end of file