commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Akolkar" <>
Subject Re: [SCXML] Class cast due to "bad" test data [was Re: svn commit: r732174 -etc]
Date Wed, 07 Jan 2009 18:43:44 GMT
On Wed, Jan 7, 2009 at 10:59 AM, sebb <> wrote:
> On 07/01/2009, Rahul Akolkar <> wrote:
>>  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?

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.


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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message