cmu.jspsurveymanager.controllers
Class ErrorController

java.lang.Object
  extended by cmu.jspsurveymanager.controllers.ErrorController

public class ErrorController
extends java.lang.Object


Constructor Summary
ErrorController()
           
 
Method Summary
 void showErrorMessageOnNextPage(java.lang.String errorMessage, Controller.SessionParameters state)
           
 void showErrorPage(Controller.SessionParameters state)
           
 void showErrorPage(java.lang.String errorMessage, Controller.SessionParameters state)
           
 void showSpecificErrorPage(java.lang.String errorMessage, Controller.SessionParameters state)
          Different from showErrorPage in that it will not show the message telling users to try the thing again, report to administrator, etc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorController

public ErrorController()
Method Detail

showErrorMessageOnNextPage

public void showErrorMessageOnNextPage(java.lang.String errorMessage,
                                       Controller.SessionParameters state)

showErrorPage

public void showErrorPage(java.lang.String errorMessage,
                          Controller.SessionParameters state)

showSpecificErrorPage

public void showSpecificErrorPage(java.lang.String errorMessage,
                                  Controller.SessionParameters state)
Different from showErrorPage in that it will not show the message telling users to try the thing again, report to administrator, etc. Will just show the raw error.

Parameters:
errorMessage -
request -
response -

showErrorPage

public void showErrorPage(Controller.SessionParameters state)