blob: 307f1879ab9271bea7ad8d82c27b8de246e48cc7 [file] [log] [blame]
Copyright (c) 2010-2014 SAP AG and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
SAP AG - initial API and implementation
<%@ taglib prefix="c" uri="" %>
<%@ taglib prefix="html" uri="" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page import="org.eclipse.skalli.commons.FormatUtils" %>
<%@ page import="org.eclipse.skalli.view.Consts" %>
<%@ page import="org.apache.commons.lang.StringEscapeUtils" %>
<%@ page import="org.slf4j.LoggerFactory" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
@import "<%=Consts.JSP_STYLE%>";
<%-- header area --%>
<jsp:include page="<%= Consts.JSP_HEADER %>" flush="true" />
<jsp:include page="<%= Consts.JSP_HEADER_SEARCH %>" flush="true" />
<%-- navigation menu on left side --%>
<jsp:include page="<%=Consts.JSP_NAVIGATIONBAR%>" flush="true" />
<%-- Error --%>
<div class="projectarearight" >
<div class="error">
<c:if test="${exception != null}">
<p style=" color: red;"> OOPS, an unexpected error occurred.</p>
Please send us a bug report and include the following information in your feedback:<br>
<li>The project that causes the problem.</li>
<li>Step-by-step description how to reproduce the problem.</li>
<li>The following error identifier:
Exception exception = (Exception)request.getAttribute("exception");
String timestamp = FormatUtils.formatUTCWithMillis(System.currentTimeMillis());
String msg = request.getRequestURI() + ":" + timestamp + ":" + exception.getMessage();
LoggerFactory.getLogger(Exception.class).error(msg, exception);
<c:if test="${feedbackConfig != null }">
<a title="${feedbackConfig.displayName}" href="${feedbackConfig.url}">Send Bug Report</a>