summaryrefslogtreecommitdiff
path: root/framework/Exceptions
diff options
context:
space:
mode:
authorxue <>2005-11-25 15:13:27 +0000
committerxue <>2005-11-25 15:13:27 +0000
commit0bdeb1bb2f43028b6f7e1fe5b0159f17bb0cb9e2 (patch)
treec1f3bab39aae0377de0bb3c17f037a19736d1c36 /framework/Exceptions
parent74ad156f8f86ba8d258c5c2522f98a3e8d4bd914 (diff)
Diffstat (limited to 'framework/Exceptions')
-rw-r--r--framework/Exceptions/templates/error-fr.html30
-rw-r--r--framework/Exceptions/templates/error-zh.html30
-rw-r--r--framework/Exceptions/templates/error.html2
-rw-r--r--framework/Exceptions/templates/error404-en.html6
-rw-r--r--framework/Exceptions/templates/error404-fr.html31
-rw-r--r--framework/Exceptions/templates/error404-zh.html2
-rw-r--r--framework/Exceptions/templates/error404.html6
-rw-r--r--framework/Exceptions/templates/error500-en.html6
-rw-r--r--framework/Exceptions/templates/error500-fr.html31
-rw-r--r--framework/Exceptions/templates/error500-zh.html2
-rw-r--r--framework/Exceptions/templates/error500.html6
-rw-r--r--framework/Exceptions/templates/error503-en.html2
-rw-r--r--framework/Exceptions/templates/error503-fr.html29
-rw-r--r--framework/Exceptions/templates/error503-zh.html2
-rw-r--r--framework/Exceptions/templates/error503.html2
-rw-r--r--framework/Exceptions/templates/exception-en.html2
-rw-r--r--framework/Exceptions/templates/exception-fr.html42
-rw-r--r--framework/Exceptions/templates/exception-zh.html2
-rw-r--r--framework/Exceptions/templates/exception.html2
19 files changed, 227 insertions, 8 deletions
diff --git a/framework/Exceptions/templates/error-fr.html b/framework/Exceptions/templates/error-fr.html
new file mode 100644
index 00000000..edea47bc
--- /dev/null
+++ b/framework/Exceptions/templates/error-fr.html
@@ -0,0 +1,30 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="fr"/>
+<title>%%ErrorMessage%%</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}
+.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+</style>
+</head>
+
+<body bgcolor="white">
+<h1>Erreur %%StatusCode%%</h1>
+<h2>%%ErrorMessage%%</h2>
+<p>
+Cette erreur est survenue en essayant de répondre à votre requête.
+</p>
+<p>
+Si vous pensez qu'il s'agit d'une erreur inattendue du serveur, merci de contacter l'<a href="mailto:%%ServerAdmin%%">administrateur</a>
+</p>
+<div class="version">
+%%Version%%<br/>
+%%Time%%
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/framework/Exceptions/templates/error-zh.html b/framework/Exceptions/templates/error-zh.html
new file mode 100644
index 00000000..af921417
--- /dev/null
+++ b/framework/Exceptions/templates/error-zh.html
@@ -0,0 +1,30 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="zh"/>
+<title>%%ErrorMessage%%</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}
+.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+</style>
+</head>
+
+<body bgcolor="white">
+<h1>Error %%StatusCode%%</h1>
+<h2>%%ErrorMessage%%</h2>
+<p>
+The above error happened when the server was processing your request.
+</p>
+<p>
+If you think this is a server error, please contact the <a href="mailto:%%ServerAdmin%%">webmaster</a>.
+</p>
+<div class="version">
+%%Version%%<br/>
+%%Time%%
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/framework/Exceptions/templates/error.html b/framework/Exceptions/templates/error.html
index cff0f910..0dd625b6 100644
--- a/framework/Exceptions/templates/error.html
+++ b/framework/Exceptions/templates/error.html
@@ -1,5 +1,7 @@
<html>
<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="en"/>
<title>%%ErrorMessage%%</title>
<style>
body {font-family:"Verdana";font-weight:normal;color:black;}
diff --git a/framework/Exceptions/templates/error404-en.html b/framework/Exceptions/templates/error404-en.html
index 11585661..1f6610fe 100644
--- a/framework/Exceptions/templates/error404-en.html
+++ b/framework/Exceptions/templates/error404-en.html
@@ -1,5 +1,7 @@
<html>
<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="en"/>
<title>Page Not Found</title>
<style>
body {font-family:"Verdana";font-weight:normal;color:black;}
@@ -15,8 +17,8 @@ p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top
<h1>%%ErrorMessage%%</h1>
<h2>Error 404</h2>
<p>
-The requested URL was not found on this server.
-If you entered the URL manually please check your spelling and try again.
+The requested URL was not found on this server.
+If you entered the URL manually please check your spelling and try again.
</p>
<p>
If you think this is a server error, please contact the <a href="mailto:%%ServerAdmin%%">webmaster</a>.
diff --git a/framework/Exceptions/templates/error404-fr.html b/framework/Exceptions/templates/error404-fr.html
new file mode 100644
index 00000000..76c219bb
--- /dev/null
+++ b/framework/Exceptions/templates/error404-fr.html
@@ -0,0 +1,31 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="fr"/>
+<title>Page Introuvable</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}
+.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+</style>
+</head>
+
+<body bgcolor="white">
+<h1>%%ErrorMessage%%</h1>
+<h2>Erreur 404</h2>
+<p>
+L'URL demandée n'a pas été trouvée sur ce serveur.
+Si vous avez tapé cette URL manuellement dans la barre d'adresse, merci de vérifier qu'il n'y aucune faute de frappe pour essayer à nouveau.
+</p>
+<p>
+Si vous pensez qu'il s'agit d'une erreur inattendue du serveur, merci de contacter l'<a href="mailto:%%ServerAdmin%%">administrateur</a>
+</p>
+<div class="version">
+%%Version%%<br/>
+%%Time%%
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/framework/Exceptions/templates/error404-zh.html b/framework/Exceptions/templates/error404-zh.html
index 98ec04d8..7766acd4 100644
--- a/framework/Exceptions/templates/error404-zh.html
+++ b/framework/Exceptions/templates/error404-zh.html
@@ -1,5 +1,7 @@
<html>
<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="zh"/>
<title>无法找到页面</title>
<style>
body {font-family:"Verdana";font-weight:normal;color:black;}
diff --git a/framework/Exceptions/templates/error404.html b/framework/Exceptions/templates/error404.html
index 11585661..1f6610fe 100644
--- a/framework/Exceptions/templates/error404.html
+++ b/framework/Exceptions/templates/error404.html
@@ -1,5 +1,7 @@
<html>
<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="en"/>
<title>Page Not Found</title>
<style>
body {font-family:"Verdana";font-weight:normal;color:black;}
@@ -15,8 +17,8 @@ p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top
<h1>%%ErrorMessage%%</h1>
<h2>Error 404</h2>
<p>
-The requested URL was not found on this server.
-If you entered the URL manually please check your spelling and try again.
+The requested URL was not found on this server.
+If you entered the URL manually please check your spelling and try again.
</p>
<p>
If you think this is a server error, please contact the <a href="mailto:%%ServerAdmin%%">webmaster</a>.
diff --git a/framework/Exceptions/templates/error500-en.html b/framework/Exceptions/templates/error500-en.html
index 2f0901fb..1c7c531e 100644
--- a/framework/Exceptions/templates/error500-en.html
+++ b/framework/Exceptions/templates/error500-en.html
@@ -1,5 +1,7 @@
<html>
<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="en"/>
<title>Internal Server Error</title>
<style>
body {font-family:"Verdana";font-weight:normal;color:black;}
@@ -15,8 +17,8 @@ p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top
<h1>Internal Server Error</h1>
<h2>%%ErrorMessage%%</h2>
<p>
-An internal error occurred while the Web server was handling your request.
-Please contact the <a href="mailto:%%ServerAdmin%%">webmaster</a> to report this problem.
+An internal error occurred while the Web server was handling your request.
+Please contact the <a href="mailto:%%ServerAdmin%%">webmaster</a> to report this problem.
</p>
<p>
Thank you.
diff --git a/framework/Exceptions/templates/error500-fr.html b/framework/Exceptions/templates/error500-fr.html
new file mode 100644
index 00000000..c7685e1c
--- /dev/null
+++ b/framework/Exceptions/templates/error500-fr.html
@@ -0,0 +1,31 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="fr"/>
+<title>Erreur Interne du Serveur</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}
+.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+</style>
+</head>
+
+<body bgcolor="white">
+<h1>Erreur Interne du Serveur</h1>
+<h2>%%ErrorMessage%%</h2>
+<p>
+Une erreur interne s'est produite pendant que le serveur web traitait votre requête.
+Veuillez contacter l'<a href="mailto:%%ServerAdmin%%">administrateur</a> pour lui signaler le problème.
+</p>
+<p>
+Merci de votre compréhension.
+</p>
+<div class="version">
+%%Version%%<br/>
+%%Time%%
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/framework/Exceptions/templates/error500-zh.html b/framework/Exceptions/templates/error500-zh.html
index 4c7f6436..647f8dec 100644
--- a/framework/Exceptions/templates/error500-zh.html
+++ b/framework/Exceptions/templates/error500-zh.html
@@ -1,5 +1,7 @@
<html>
<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="zh"/>
<title>服务器内部错误</title>
<style>
body {font-family:"Verdana";font-weight:normal;color:black;}
diff --git a/framework/Exceptions/templates/error500.html b/framework/Exceptions/templates/error500.html
index 2f0901fb..1c7c531e 100644
--- a/framework/Exceptions/templates/error500.html
+++ b/framework/Exceptions/templates/error500.html
@@ -1,5 +1,7 @@
<html>
<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="en"/>
<title>Internal Server Error</title>
<style>
body {font-family:"Verdana";font-weight:normal;color:black;}
@@ -15,8 +17,8 @@ p {font-family:"Verdana";font-weight:normal;color:black;font-size:9pt;margin-top
<h1>Internal Server Error</h1>
<h2>%%ErrorMessage%%</h2>
<p>
-An internal error occurred while the Web server was handling your request.
-Please contact the <a href="mailto:%%ServerAdmin%%">webmaster</a> to report this problem.
+An internal error occurred while the Web server was handling your request.
+Please contact the <a href="mailto:%%ServerAdmin%%">webmaster</a> to report this problem.
</p>
<p>
Thank you.
diff --git a/framework/Exceptions/templates/error503-en.html b/framework/Exceptions/templates/error503-en.html
index 60527c45..007a498c 100644
--- a/framework/Exceptions/templates/error503-en.html
+++ b/framework/Exceptions/templates/error503-en.html
@@ -1,5 +1,7 @@
<html>
<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="en"/>
<title>Service Unavailable</title>
<style>
body {font-family:"Verdana";font-weight:normal;color:black;}
diff --git a/framework/Exceptions/templates/error503-fr.html b/framework/Exceptions/templates/error503-fr.html
new file mode 100644
index 00000000..34198a0f
--- /dev/null
+++ b/framework/Exceptions/templates/error503-fr.html
@@ -0,0 +1,29 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="fr"/>
+<title>Service Indisponible</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}
+.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}
+</style>
+</head>
+
+<body bgcolor="white">
+<h1>Service Indisponible</h1>
+<p>
+Le service est actuellement en maintenance et indisponible. Merci de réessayer prochainement.
+</p>
+<p>
+Merci de votre compréhension.
+</p>
+<div class="version">
+%%Version%%<br/>
+%%Time%%
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/framework/Exceptions/templates/error503-zh.html b/framework/Exceptions/templates/error503-zh.html
index b6b5915c..7ce0c29d 100644
--- a/framework/Exceptions/templates/error503-zh.html
+++ b/framework/Exceptions/templates/error503-zh.html
@@ -1,5 +1,7 @@
<html>
<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="zh"/>
<title>系统无法提供服务</title>
<style>
body {font-family:"Verdana";font-weight:normal;color:black;}
diff --git a/framework/Exceptions/templates/error503.html b/framework/Exceptions/templates/error503.html
index 60527c45..007a498c 100644
--- a/framework/Exceptions/templates/error503.html
+++ b/framework/Exceptions/templates/error503.html
@@ -1,5 +1,7 @@
<html>
<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="en"/>
<title>Service Unavailable</title>
<style>
body {font-family:"Verdana";font-weight:normal;color:black;}
diff --git a/framework/Exceptions/templates/exception-en.html b/framework/Exceptions/templates/exception-en.html
index 67e15dfe..7dd133f5 100644
--- a/framework/Exceptions/templates/exception-en.html
+++ b/framework/Exceptions/templates/exception-en.html
@@ -1,5 +1,7 @@
<html>
<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="en"/>
<title>%%ErrorType%%</title>
<style>
body {font-family:"Verdana";font-weight:normal;color:black;}
diff --git a/framework/Exceptions/templates/exception-fr.html b/framework/Exceptions/templates/exception-fr.html
new file mode 100644
index 00000000..7da91bfd
--- /dev/null
+++ b/framework/Exceptions/templates/exception-fr.html
@@ -0,0 +1,42 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="fr"/>
+<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;}
+.error {background-color: #ffeeee;}
+</style>
+</head>
+
+<body bgcolor="white">
+<h1>%%ErrorType%%</h1>
+<h3>Description</h3>
+<p style="color:maroon">%%ErrorMessage%%</p>
+<p>
+<h3>Fichier Source</h3>
+<p>%%SourceFile%%</p>
+<div class="source">
+<code><pre>
+%%SourceCode%%
+</pre></code>
+</div>
+<h3>Trace de la pile d'excution:</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/templates/exception-zh.html b/framework/Exceptions/templates/exception-zh.html
index e0897688..ed8db236 100644
--- a/framework/Exceptions/templates/exception-zh.html
+++ b/framework/Exceptions/templates/exception-zh.html
@@ -1,5 +1,7 @@
<html>
<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="zh"/>
<title>%%ErrorType%%</title>
<style>
body {font-family:"Verdana";font-weight:normal;color:black;}
diff --git a/framework/Exceptions/templates/exception.html b/framework/Exceptions/templates/exception.html
index 67e15dfe..7dd133f5 100644
--- a/framework/Exceptions/templates/exception.html
+++ b/framework/Exceptions/templates/exception.html
@@ -1,5 +1,7 @@
<html>
<head>
+<meta http-equiv="Content-Type" content="text/html; charset="utf-8"/>
+<meta http-equiv="content-language" content="en"/>
<title>%%ErrorType%%</title>
<style>
body {font-family:"Verdana";font-weight:normal;color:black;}