Skip to content

Commit

Permalink
Merge #5341 from 4.0 into 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BalusC committed Oct 21, 2023
2 parents 0f214f1 + 7d531cb commit 329b720
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions impl/src/main/java/com/sun/faces/config/InitFacesContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import com.sun.faces.config.initfacescontext.NoOpFacesContext;
import com.sun.faces.config.initfacescontext.ServletContextAdapter;
import com.sun.faces.context.ApplicationMap;
import com.sun.faces.context.ExceptionHandlerImpl;
import com.sun.faces.util.FacesLogger;
import com.sun.faces.util.Util;

Expand All @@ -41,6 +42,7 @@
import jakarta.faces.application.ApplicationFactory;
import jakarta.faces.application.ProjectStage;
import jakarta.faces.component.UIViewRoot;
import jakarta.faces.context.ExceptionHandler;
import jakarta.faces.context.ExternalContext;
import jakarta.faces.context.FacesContext;
import jakarta.servlet.ServletContext;
Expand Down Expand Up @@ -109,6 +111,11 @@ public Application getApplication() {
return factory.getApplication();
}

@Override
public ExceptionHandler getExceptionHandler() {
return new ExceptionHandlerImpl(false);
}

@Override
public boolean isProjectStage(ProjectStage stage) {
if (stage == null) {
Expand Down

0 comments on commit 329b720

Please sign in to comment.