org.jasig.portlet.test.mvc.tests
Class ExceptionThrowingTest
java.lang.Object
org.jasig.portlet.test.mvc.tests.BasePortletTest
org.jasig.portlet.test.mvc.tests.ExceptionThrowingTest
- All Implemented Interfaces:
- PortletTest, org.springframework.beans.factory.BeanNameAware
@Controller(value="exceptionThrowingTest")
@RequestMapping(value={"VIEW","EDIT","HELP","ABOUT"},
params="currentTest=exceptionThrowingTest")
public class ExceptionThrowingTest- extends BasePortletTest
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
| 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 String THROW_EXECEPTION_APPLICATION_SESSION
- See Also:
- Constant Field Values
THROW_EXECEPTION_PORTLET_SESSION
public static final String THROW_EXECEPTION_PORTLET_SESSION
- See Also:
- Constant Field Values
THROW_EXCEPTION_PARAMETER
public static final String THROW_EXCEPTION_PARAMETER
- See Also:
- Constant Field Values
ExceptionThrowingTest
public ExceptionThrowingTest()
getTestName
public String getTestName()
handleActionRequestInternal
@ActionMapping
public void handleActionRequestInternal(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws Exception
- Throws:
Exception
handleRenderRequestInternal
@RenderMapping
public org.springframework.web.portlet.ModelAndView handleRenderRequestInternal(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws Exception
- Throws:
Exception
doExceptionThrowing
protected void doExceptionThrowing(javax.portlet.PortletRequest request)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
getFormattedDate
protected String getFormattedDate()
Copyright © 2012 Jasig. All Rights Reserved.