f-angi
6/28/2016 - 1:41 PM

Displays a generic error page whose name is generic-error.

Displays a generic error page whose name is generic-error.

	<bean id="defaultExceptionHandlerTemplate"
		class="org.springframework.web.portlet.handler.SimpleMappingExceptionResolver"
		abstract="true">
		<property name="defaultErrorView" value="generic-error" />
		<property name="exceptionMappings">
			<props>
				<prop
					key="org.springframework.web.portlet.bind.MissingPortletRequestParameterException">
					generic_error
				</prop>
			</props>
		</property>
		<!-- it.intesys.arag.portlet.denuncia is a name of a logger -->
		<property name="warnLogCategory" value="it.intesys.arag.portlet.denuncia"/>
	</bean>

	<bean id="defaultExceptionHandler" parent="defaultExceptionHandlerTemplate" />