org.infoglue.deliver.applications.actions
Class ErrorPageAction

java.lang.Object
  extended by org.infoglue.cms.applications.common.actions.WebworkAbstractAction
      extended by org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
          extended by org.infoglue.deliver.applications.actions.ErrorPageAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class ErrorPageAction
extends InfoGlueAbstractAction

This is an error page action. Used to send out the right error codes and the right html

Author:
Mattias Bogeblad
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
colorScheme
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ErrorPageAction()
           
 
Method Summary
 java.lang.String doBusy()
          This is the busy method - it will send the right error codes and also show the right error message.
 java.lang.String doExecute()
          This is the excecute method - it will send the right error codes and also show the right error message.
 int getResponseCode()
           
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getLanguageCode, getLocale, getLogger, getLogoutURL, getOriginalFullURL, getParameter, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getSingleParameter, getThis, getToolId, getToolLocales, getURLBase, getUserName, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme, setLanguageCode, setToolId
 
Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getHttpSession, getInfoGluePrincipal, getLocalizedString, getRequest, getResponse, getRoot, getSession, setCommand, setError, setServletRequest, setServletResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorPageAction

public ErrorPageAction()
Method Detail

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
This is the excecute method - it will send the right error codes and also show the right error message.

Specified by:
doExecute in class WebworkAbstractAction
Throws:
java.lang.Exception

doBusy

public java.lang.String doBusy()
                        throws java.lang.Exception
This is the busy method - it will send the right error codes and also show the right error message.

Throws:
java.lang.Exception

getResponseCode

public int getResponseCode()


Copyright © 2005 InfoGlue.org All Rights Reserved.