core-jgi/org.adempiere.webstore/errorPage.jsp

32 lines
846 B
Plaintext
Raw Normal View History

2006-11-17 10:15:48 +07:00
<%@ page isErrorPage="true" %>
<html>
<head>
<title>Adempiere Error</title>
2006-11-17 10:15:48 +07:00
<link href="standard.css" rel="stylesheet" type="text/css"/>
</head>
<body><div id="page">
<h1>Adempiere System Error</h1>
<p>Sorry, an error occured. If the error persists, please inform us.</p>
2006-11-17 10:15:48 +07:00
<p>Error Message:</p>
<pre><font color="red">
<%= exception.getMessage() %>
</font></pre>
<h2>Stack Trace:</h2>
<%
java.lang.Throwable ex = exception;
while (ex != null)
{
out.println("<h3>" + ex.toString() + "</h3>");
java.io.CharArrayWriter cw = new java.io.CharArrayWriter();
java.io.PrintWriter pw = new java.io.PrintWriter(cw,true);
ex.printStackTrace (pw);
out.println("<pre><font color=\"red\">");
out.println(cw.toString());
out.println("</font></pre>");
ex = exception.getCause();
}
%>
<br>
</div></body>
</html>