<%-- 
  Copyright 2003 Sun Microsystems, Inc. All rights reserved 
  Use is subject to license terms.
 --%>
<%-- @(#)error.jsp --%>
<%@ page isErrorPage="true" %>

<%@ taglib uri="/tld/jx.tld" prefix="jx" %>
<%@ taglib uri="/tld/desktop.tld" prefix="dt" %>
<%@ taglib uri="/tld/desktopProviderContext.tld" prefix="dtpc" %>

<dt:obtainChannel channel="$JSPProvider">
    <dtpc:providerContext>

    <% if (exception.getMessage() != null) { %>
	<jx:set var="ex">
	    Discussions: <%=exception.getMessage()%>
	</jx:set>
       <dtpc:logError value="$ex"/>
    <% } else { %>
	<jx:set var="ex">
	    Discussions: <%=exception.toString()%>
	</jx:set>
       <dtpc:logError value="$ex"/>
    <% } %>
    </dtpc:providerContext>
</dt:obtainChannel>
