Author: manaRH
Date: 2013-02-28 03:39:06 -0500 (Thu, 28 Feb 2013)
New Revision: 15430
Removed:
branches/enterprise/WFK-2_1/jboss-seam/src/main/java/org/jboss/seam/jsf/SeamExceptionHandler.java
branches/enterprise/WFK-2_1/jboss-seam/src/main/java/org/jboss/seam/jsf/SeamExceptionHandlerFactory.java
Modified:
branches/enterprise/WFK-2_1/jboss-seam/src/main/resources/META-INF/faces-config.xml
Log:
bz912352, JBSEAM-5045 final solution
Deleted:
branches/enterprise/WFK-2_1/jboss-seam/src/main/java/org/jboss/seam/jsf/SeamExceptionHandler.java
===================================================================
---
branches/enterprise/WFK-2_1/jboss-seam/src/main/java/org/jboss/seam/jsf/SeamExceptionHandler.java 2013-02-28
08:38:41 UTC (rev 15429)
+++
branches/enterprise/WFK-2_1/jboss-seam/src/main/java/org/jboss/seam/jsf/SeamExceptionHandler.java 2013-02-28
08:39:06 UTC (rev 15430)
@@ -1,38 +0,0 @@
-package org.jboss.seam.jsf;
-
-import javax.faces.FacesException;
-import javax.faces.context.ExceptionHandler;
-import javax.faces.context.ExceptionHandlerWrapper;
-
-public class SeamExceptionHandler extends ExceptionHandlerWrapper
-{
-
- private ExceptionHandler wrapped;
-
- /**
- * Construct a new ajax exception handler around the given wrapped exception handler.
- * @param wrapped The wrapped exception handler.
- */
- public SeamExceptionHandler(ExceptionHandler wrapped)
- {
- this.wrapped = wrapped;
- }
-
- // Actions
--------------------------------------------------------------------------------------------------------
-
- /**
- * Handle the ajax exception by default ExceptionHandler
- *
- */
- @Override
- public void handle() throws FacesException {
- wrapped.handle();
- }
-
- @Override
- public ExceptionHandler getWrapped() {
- return wrapped;
- }
-
-}
-
Deleted:
branches/enterprise/WFK-2_1/jboss-seam/src/main/java/org/jboss/seam/jsf/SeamExceptionHandlerFactory.java
===================================================================
---
branches/enterprise/WFK-2_1/jboss-seam/src/main/java/org/jboss/seam/jsf/SeamExceptionHandlerFactory.java 2013-02-28
08:38:41 UTC (rev 15429)
+++
branches/enterprise/WFK-2_1/jboss-seam/src/main/java/org/jboss/seam/jsf/SeamExceptionHandlerFactory.java 2013-02-28
08:39:06 UTC (rev 15430)
@@ -1,41 +0,0 @@
-package org.jboss.seam.jsf;
-
-import javax.faces.context.ExceptionHandler;
-import javax.faces.context.ExceptionHandlerFactory;
-
-/**
- * Factory not to be used AjaxExceptionHandlerImpl class and
- * always be an exception to be thrown by capturad ExceptionFilter
- *
- * @see AjaxExceptionHandlerImpl
- * @see ExceptionFilter
- * @author Tiago Peruzzo
- * @author Marek Novotny - mnovotny(a)redhat.com
- *
- *
- */
-public class SeamExceptionHandlerFactory extends ExceptionHandlerFactory
-{
-
- private ExceptionHandlerFactory wrapped;
-
- public SeamExceptionHandlerFactory(ExceptionHandlerFactory parent)
- {
- this.wrapped = parent;
- }
-
- @Override
- public ExceptionHandler getExceptionHandler()
- {
- return new SeamExceptionHandler(wrapped.getExceptionHandler());
- }
-
- /**
- * Returns the wrapped factory.
- */
- @Override
- public ExceptionHandlerFactory getWrapped() {
- return wrapped;
- }
-
-}
Modified:
branches/enterprise/WFK-2_1/jboss-seam/src/main/resources/META-INF/faces-config.xml
===================================================================
---
branches/enterprise/WFK-2_1/jboss-seam/src/main/resources/META-INF/faces-config.xml 2013-02-28
08:38:41 UTC (rev 15429)
+++
branches/enterprise/WFK-2_1/jboss-seam/src/main/resources/META-INF/faces-config.xml 2013-02-28
08:39:06 UTC (rev 15430)
@@ -6,7 +6,7 @@
<factory>
<application-factory>org.jboss.seam.jsf.SeamApplicationFactory</application-factory>
-
<exception-handler-factory>org.jboss.seam.jsf.SeamExceptionHandlerFactory</exception-handler-factory>
+
<exception-handler-factory>javax.faces.webapp.PreJsf2ExceptionHandlerFactory</exception-handler-factory>
</factory>
<application>
Show replies by date