On Wed, Jan 7, 2009 at 10:59 AM, sebb <[email protected]> wrote:
> On 07/01/2009, Rahul Akolkar <[email protected]> wrote:
<snip/>
>>
>>  I see, r731781. Its an authoring error but yes, a CCE is bogus. I
>>  think the related catches in r731781 should be for a generic Exception
>>  (since theoretically any Java method could be executed as part of the
>>  expression evaluation).
>
> So how can one then detect such errors?
> Or maybe that is not important?
>
<snap/>

One gets notified on the ErrorReporter (the application-specific
implementation can then do what it deems best). Any exception during
expression evaluation should therefore be wrapped in the
SCXMLExpressionException. I've made the change in SVN.

-Rahul


> Either way, ISTM that there should be a test case for such authoring errors.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to