org.jasig.portlet.test.mvc.tests
Class ExceptionThrowingTest
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.portlet.context.PortletApplicationObjectSupport
org.springframework.web.portlet.handler.PortletContentGenerator
org.springframework.web.portlet.mvc.AbstractController
org.jasig.portlet.test.mvc.tests.ExceptionThrowingTest
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware, org.springframework.web.portlet.context.PortletContextAware, org.springframework.web.portlet.mvc.Controller
public class ExceptionThrowingTest
- extends org.springframework.web.portlet.mvc.AbstractController
Provides a way to throw exceptions and base the excpetion being thrown on a request parameter,
portlet scoped session attribute, or application scoped session attribute.
- Version:
- $Revision$
- Author:
- Eric Dalquist
| Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
logger |
| Methods inherited from class org.springframework.web.portlet.mvc.AbstractController |
handleActionRequest, handleRenderRequest, isRenderWhenMinimized, isSynchronizeOnSession, setRenderWhenMinimized, setSynchronizeOnSession |
| Methods inherited from class org.springframework.web.portlet.handler.PortletContentGenerator |
applyCacheSeconds, cacheForSeconds, check, checkAndPrepare, checkAndPrepare, getCacheSeconds, isRequireSession, preventCaching, setCacheSeconds, setRequireSession |
| Methods inherited from class org.springframework.web.portlet.context.PortletApplicationObjectSupport |
getPortletContext, getTempDir, isContextRequired, setPortletContext |
| Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THROW_EXECEPTION_APPLICATION_SESSION
public static final java.lang.String THROW_EXECEPTION_APPLICATION_SESSION
- See Also:
- Constant Field Values
THROW_EXECEPTION_PORTLET_SESSION
public static final java.lang.String THROW_EXECEPTION_PORTLET_SESSION
- See Also:
- Constant Field Values
THROW_EXCEPTION_PARAMETER
public static final java.lang.String THROW_EXCEPTION_PARAMETER
- See Also:
- Constant Field Values
ExceptionThrowingTest
public ExceptionThrowingTest()
handleActionRequestInternal
protected void handleActionRequestInternal(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws java.lang.Exception
- Overrides:
handleActionRequestInternal in class org.springframework.web.portlet.mvc.AbstractController
- Throws:
java.lang.Exception
handleRenderRequestInternal
protected org.springframework.web.portlet.ModelAndView handleRenderRequestInternal(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws java.lang.Exception
- Overrides:
handleRenderRequestInternal in class org.springframework.web.portlet.mvc.AbstractController
- Throws:
java.lang.Exception
doExceptionThrowing
protected void doExceptionThrowing(javax.portlet.PortletRequest request)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
getFormattedDate
protected java.lang.String getFormattedDate()
Copyright © 2010 Jasig. All Rights Reserved.