[ https://issues.apache.org/jira/browse/MYFACES-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558369#action_12558369 ]
Mario Ivankovits commented on MYFACES-1802: ------------------------------------------- I'd check the existence of getCause() using reflection as then it will also work with pre Java 1.4 Exceptions implementing getCause() - for example those Exceptions prepared to be backward compatible. > FacesException and nested exceptions > ------------------------------------ > > Key: MYFACES-1802 > URL: https://issues.apache.org/jira/browse/MYFACES-1802 > Project: MyFaces Core > Issue Type: Bug > Components: JSR-127 > Affects Versions: 1.1.5 > Reporter: Bernhard Huemer > Attachments: MyFaces-1802.patch > > > The JSF 1.1 specification requires any implementation to support Java 1.3 and > that's why the FacesException isn't allowed to utilize builtin exception > chaining mechanisms (i.e. initCause(), etc..) as they have been introduced in > Java 1.4. However, the FacesException retains it's cause by delegating to the > parent's constructor (for example, "super(cause);" or "super(message, > cause);"). > Although this bug is rather easy to fix, I've assigned the priority level > 'Major' as it breaks the specification. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.