Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jasig.portal
Class Problems

    java.lang.Object
      javax.servlet.GenericServlet
          javax.servlet.http.HttpServlet
              org.jasig.portal.Problems

All Implemented Interfaces:
  java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class Problems

extends javax.servlet.http.HttpServlet

A servlet that reports portal problems. This servlet attempts to accomodate both the ErrorID approach and the display recent PortalExceptions approach.

Version:
  $Revision: 1.5 $
Author:
  Howard Gilbert, andrew.petro@yale.edu
See Also:
  Serialized Form

Field Summary
`private static org.apache.commons.logging.Log` | `log`
`private java.text.DateFormat` | `simpleTimeFormat` The simple formatter used to format the times of the PortalExceptions.

Constructor Summary
`Problems()`

Method Summary
`protected void` | `doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)`
`private java.lang.String` | `listdetail(java.lang.String majorname, java.lang.String minorname)` Generate HTML for stack trace and detail on one ID.
`private java.lang.String` | `listRecent()`
`private java.lang.String` | `listRecentPortalExceptions(boolean showStackTraces)`
`private java.lang.String` | `listRegistered()` List all registered ErrorIDs

Methods inherited from class javax.servlet.http.HttpServlet
`doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service`

Methods inherited from class javax.servlet.GenericServlet
`destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### log

    private static final org.apache.commons.logging.Log log

### simpleTimeFormat

    private java.text.DateFormat simpleTimeFormat

  The simple formatter used to format the times of the PortalExceptions.

Constructor Detail

### Problems

    public Problems()

Method Detail

### doGet

    protected void doGet(javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response)
                  throws javax.servlet.ServletException,
                         java.io.IOException

  Overrides:
    `doGet` in class `javax.servlet.http.HttpServlet`
  Throws:
    `javax.servlet.ServletException`
    `java.io.IOException`

### listdetail

    private java.lang.String listdetail(java.lang.String majorname,
                                        java.lang.String minorname)

  Generate HTML for stack trace and detail on one ID.

  Parameters:
    `majorname` - first key of ErrorID
    `minorname` - second key of ErrorID
  Returns:
    HTML in String

### listRegistered

    private java.lang.String listRegistered()

  List all registered ErrorIDs

  Returns:
    HTML String with list

### listRecent

    private java.lang.String listRecent()

### listRecentPortalExceptions

    private java.lang.String listRecentPortalExceptions(boolean showStackTraces)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD