You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gaetan Pitteloud (JIRA)" <de...@myfaces.apache.org> on 2013/10/16 14:31:42 UTC

[jira] [Created] (MYFACESTEST-64) MockMethodExpression should throw MethodNotFoundException

Gaetan Pitteloud created MYFACESTEST-64:
-------------------------------------------

             Summary: MockMethodExpression should throw MethodNotFoundException
                 Key: MYFACESTEST-64
                 URL: https://issues.apache.org/jira/browse/MYFACESTEST-64
             Project: MyFaces Test
          Issue Type: Bug
          Components: Mock Objects
    Affects Versions: 1.0.4
            Reporter: Gaetan Pitteloud


MockMethodExpression.invoke() should specifically catch java.lang.NoSuchMethodException and throw javax.el.MethodNotFoundException.

The current behaviour throws a generic ELException, which is not correctly interpreted.



--
This message was sent by Atlassian JIRA
(v6.1#6144)