[
https://issues.apache.org/jira/browse/MYFACES-4701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936215#comment-17936215
]
Thomas Andraschko commented on MYFACES-4701:
--------------------------------------------
i could imagine something like this then:
{code:java}
while (exception instanceof FacesWrapper ||
(exception.getClass().equals(FacesException.class) ||
exception.getClass().equals(ELException.class)))
{
if (exception instanceof FacesWrapper)
{
if (((FacesWrapper) exception).getWrapped() == null)
{
break;
}
exception = (Throwable) ((FacesWrapper) exception).getWrapped();
}
if (exception.getClass().equals(FacesException.class)
|| exception.getClass().equals(ELException.class))
{
if (exception.getCause() == null)
{
break;
}
exception = exception.getCause();
}
}
{code}
> Add ability to skip logging of specific exceptions in the ExceptionHandler
> impl
> -------------------------------------------------------------------------------
>
> Key: MYFACES-4701
> URL: https://issues.apache.org/jira/browse/MYFACES-4701
> Project: MyFaces Core
> Issue Type: Improvement
> Reporter: Thomas Andraschko
> Assignee: Thomas Andraschko
> Priority: Major
> Fix For: 5.0.0, 4.0.3, 4.1.1
>
>
> like primefaces.EXCEPTION_TYPES_TO_IGNORE_IN_LOGGING
--
This message was sent by Atlassian Jira
(v8.20.10#820010)