com.github.adminfaces.template.exception.CustomExceptionHandlerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of admin-template Show documentation
Show all versions of admin-template Show documentation
A responsive JSF template based on Bootstrap and Admin LTE.
package com.github.adminfaces.template.exception;
import javax.faces.context.ExceptionHandler;
import javax.faces.context.ExceptionHandlerFactory;
public class CustomExceptionHandlerFactory extends ExceptionHandlerFactory {
private final ExceptionHandlerFactory parent;
public CustomExceptionHandlerFactory(final ExceptionHandlerFactory parent) {
this.parent = parent;
}
@Override
public ExceptionHandler getExceptionHandler() {
return new CustomExceptionHandler(this.parent.getExceptionHandler());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy