%@ page isErrorPage="true" import="java.io.*"%> <%! private Throwable getRealException(Throwable e) { while(e instanceof ServletException) { ServletException s=(ServletException)e; if(s.getRootCause()==null) break; e=s.getRootCause(); } return e; } private String getStackTrace(Throwable t) { StringWriter sw = new StringWriter(256); PrintWriter pw = new PrintWriter(sw); t.printStackTrace(pw); return sw.toString(); } %>
An internal error has occurred.
Please provide support with the technical information below, or go back to the previous page.
Exception:
<%=com.sap.security.core.server.csi.util.StringUtils.escapeToHTML(getStackTrace(getRealException(exception)))%>